indicate that the server and player was not in the cache
All checks were successful
ci / deploy (push) Successful in 1m17s
All checks were successful
ci / deploy (push) Successful in 1m17s
This commit is contained in:
parent
3a3a2e223f
commit
b011fdbede
@ -68,6 +68,7 @@ public class PlayerService {
|
|||||||
);
|
);
|
||||||
|
|
||||||
playerCacheRepository.save(player);
|
playerCacheRepository.save(player);
|
||||||
|
player.setCached(-1); // Indicate that the player is not cached
|
||||||
return player;
|
return player;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@ public class ServerService {
|
|||||||
platform.getPinger().ping(hostname, port),
|
platform.getPinger().ping(hostname, port),
|
||||||
System.currentTimeMillis()
|
System.currentTimeMillis()
|
||||||
);
|
);
|
||||||
|
server.setCached(-1); // Indicate that the server is not cached
|
||||||
serverCacheRepository.save(server);
|
serverCacheRepository.save(server);
|
||||||
return server;
|
return server;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user