make him post more often
This commit is contained in:
parent
4ffb74614e
commit
3a3439a588
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue