fix indicate that the server was not in the cache

This commit is contained in:
Lee 2024-04-10 08:28:25 +01:00
parent b011fdbede
commit d525d343e4

@ -58,8 +58,8 @@ 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);
server.setCached(-1); // Indicate that the server is not cached
return server; return server;
} }
} }