Skip to content

Commit

Permalink
fix: reset token every 10min
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats authored Nov 15, 2018
1 parent dc664c3 commit cf8cd92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const isTwitterUrl = url => isTwitterHost(url) && isTweet(url)
const getTweetId = url => url.split('/').reverse()[0]

const API_GUEST_ACTIVATE_LIMIT = 180
const API_GUEST_ACTIVATE_EXPIRE = 15 * 60 * 1000 // 15 min
const API_GUEST_ACTIVATE_EXPIRE = 10 * 60 * 1000 // 10 min

const { PROXY_HOST, PROXY_PORT, PROXY_USER, PROXY_PASS } = process.env

Expand Down

0 comments on commit cf8cd92

Please sign in to comment.