feat: complete Ancestor quote bot with production-ready Docker support
This commit is contained in:
11
node_modules/matrix-js-sdk/lib/scheduler.d.ts
generated
vendored
11
node_modules/matrix-js-sdk/lib/scheduler.d.ts
generated
vendored
@@ -1,6 +1,6 @@
|
||||
import { type MatrixEvent } from "./models/event.ts";
|
||||
import { type MatrixError } from "./http-api/index.ts";
|
||||
import { type ISendEventResponse } from "./@types/requests.ts";
|
||||
import { MatrixEvent } from "./models/event";
|
||||
import { MatrixError } from "./http-api";
|
||||
import { ISendEventResponse } from "./@types/requests";
|
||||
/**
|
||||
* The function to invoke to process (send) events in the queue.
|
||||
* @param event - The event to send.
|
||||
@@ -36,7 +36,10 @@ export declare class MatrixScheduler<T = ISendEventResponse> {
|
||||
*/
|
||||
readonly queueAlgorithm: typeof MatrixScheduler.QUEUE_MESSAGES;
|
||||
/**
|
||||
* Default retry algorithm for the matrix scheduler. Retries events up to 4 times with exponential backoff.
|
||||
* Retries events up to 4 times using exponential backoff. This produces wait
|
||||
* times of 2, 4, 8, and 16 seconds (30s total) after which we give up. If the
|
||||
* failure was due to a rate limited request, the time specified in the error is
|
||||
* waited before being retried.
|
||||
* @param attempts - Number of attempts that have been made, including the one that just failed (ie. starting at 1)
|
||||
* @see retryAlgorithm
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user