diff --git a/bin/server.dart b/bin/server.dart index 2fab444..20ba2a5 100644 --- a/bin/server.dart +++ b/bin/server.dart @@ -105,7 +105,7 @@ void main(List args) async { // Random time is between 1 and 8 hours // Random time is choosen after every post while (true) { - await Future.delayed(Duration(hours: Random().nextInt(8) + 1)); + await Future.delayed(Duration(minutes: Random().nextInt(60*5) + 10)); await _importPosts('/data/posts.txt'); await _postRandomPost(); }