Initial work on new automod
This commit is contained in:
parent
1e549ef2a3
commit
ae43d890a1
6 changed files with 888 additions and 5 deletions
|
@ -1,6 +1,8 @@
|
|||
import { SECONDS } from "./utils";
|
||||
|
||||
type QueueFn = (...args: any[]) => Promise<any>;
|
||||
|
||||
const DEFAULT_TIMEOUT = 10 * 1000;
|
||||
const DEFAULT_TIMEOUT = 10 * SECONDS;
|
||||
|
||||
export class Queue {
|
||||
protected running: boolean = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue