Skip to content

Commit

Permalink
Fix settings
Browse files Browse the repository at this point in the history
  • Loading branch information
GoX1337 committed Nov 4, 2018
1 parent 4609e67 commit ecdeb62
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const twitter = new Twitter({
let apiCall = true;
let concoursStream = null;
let nbProcessedTweet = 0;
let maxTweets = 5;
let maxTweets = 2;
let pauseConcours = 5 * 60 * 1000; //5m
let concoursMaxDuration = 2 * 60 * 60 * 1000; //2h

Expand Down Expand Up @@ -107,9 +107,6 @@ let processTweet = (tweet) => {
setTimeout(() => {
postRandomTweet();
}, 2000);
setTimeout(() => {
postRandomTweet();
}, 3000);

setTimeout(() => {
startConcoursStream();
Expand Down

0 comments on commit ecdeb62

Please sign in to comment.