Skip to content

Commit c201379

Browse files
committed
cloud_functions: update comments
1 parent 21d8c9c commit c201379

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cloud_functions/src/alarmFastTransfer.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ export async function alarmFastTransfer(req: any, res: any) {
4949
initialize();
5050
}
5151

52-
// The the last 24 hours of market orders
52+
// Get the last 30 minutes of delayed orders.
53+
// In this case, delayed means the execution time is greater than 20 seconds.
54+
// This cloud function is scheduled to run every 30 minutes.
5355
const alertOrders: DisplayRow[] = await getDelayedOrders();
5456
for (const order of alertOrders) {
5557
const formattedAmountIn = (Number(order.amountIn) / 1_000_000).toFixed(2);

0 commit comments

Comments
 (0)