mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-26 11:21:21 +00:00
[SIS-xxx] synchronizing the lookup for donations, so that simultaneous calls are not possible
This commit is contained in:
@@ -135,7 +135,7 @@ public class DonationService {
|
||||
}
|
||||
|
||||
@Cacheable(value = "donation-cache")
|
||||
public DonationsResponse getCachedDonationAmount(Long serverId) {
|
||||
public synchronized DonationsResponse getCachedDonationAmount(Long serverId) {
|
||||
return fetchCurrentDonationAmount(serverId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user