fix indicate that the server was not in the cache
All checks were successful
ci / deploy (push) Successful in 1m29s

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

View File

@ -58,8 +58,8 @@ public class ServerService {
platform.getPinger().ping(hostname, port),
System.currentTimeMillis()
);
server.setCached(-1); // Indicate that the server is not cached
serverCacheRepository.save(server);
server.setCached(-1); // Indicate that the server is not cached
return server;
}
}