From 3a3439a588b07e584bea1c30cb46b190e6fbdb56 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Thu, 5 May 2022 20:04:17 +0000 Subject: [PATCH] make him post more often --- bin/server.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }