make him post more often

This commit is contained in:
Inex Code 2022-05-05 20:04:17 +00:00
parent 4ffb74614e
commit 3a3439a588

View file

@ -105,7 +105,7 @@ void main(List<String> 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();
}