Increase randomness by updating the random's seed every minute
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-20 22:15:52 +01:00
parent 5a7f884703
commit 0f54fe856e
4 changed files with 31 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
package wtf.beatrice.hidekobot.runnables;
import wtf.beatrice.hidekobot.Cache;
public class RandomSeedTask implements Runnable
{
@Override
public void run() {
Cache.setRandomSeed(System.currentTimeMillis());
}
}