3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 23:55:02 +00:00

Initial work on new automod

This commit is contained in:
Dragory 2019-08-18 16:40:15 +03:00
parent 8914fe83c4
commit 846e623e3e
6 changed files with 888 additions and 5 deletions

View file

@ -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;