forked from MinecraftUtilities/Backend
fix indicate that the server was not in the cache
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user