feat: server-state baseline (Appium-fallback, event-dedupe, retry-semantics, webhook-reg, unlimited-limit)
This commit is contained in:
parent
c97d662856
commit
1d5a233f68
4 changed files with 129 additions and 8 deletions
|
|
@ -1,4 +1,7 @@
|
|||
const MAX_REQUESTS_PER_DAY = parseInt(process.env.MAX_REQUESTS_PER_DAY, 10) || 5
|
||||
const configuredLimit = parseInt(process.env.MAX_REQUESTS_PER_DAY, 10)
|
||||
const MAX_REQUESTS_PER_DAY = Number.isFinite(configuredLimit) && configuredLimit > 0
|
||||
? configuredLimit
|
||||
: Infinity
|
||||
|
||||
const userCounts = new Map()
|
||||
let currentDate = new Date().toDateString()
|
||||
|
|
|
|||
Loading…
Reference in a new issue