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:
parent
8914fe83c4
commit
846e623e3e
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