-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cec126e
commit f10fe2f
Showing
22 changed files
with
2,120 additions
and
2,596 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = require('./lib/onfleet'); | ||
import onfleet from './lib/onfleet.js'; | ||
export default onfleet; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
const constants = { | ||
LIMITER_RESERVOIR: 20, | ||
LIMITER_WAIT_UPON_DEPLETION: 10000, | ||
LIMITER_MAX_CONCURRENT: 1, | ||
LIMITER_MIN_TIME: 50, | ||
}; | ||
// lib/constants.js | ||
|
||
module.exports = constants; | ||
export const LIMITER_MAX_CONCURRENT = 1; | ||
export const LIMITER_MIN_TIME = 50; | ||
export const LIMITER_WAIT_UPON_DEPLETION = 10000; | ||
export const LIMITER_RESERVOIR = 20; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.