Update batch_billing.ts
This commit is contained in:
@@ -10,8 +10,8 @@ import { getACUC, setCachedACUC } from "../../controllers/auth";
|
|||||||
const BATCH_KEY = "billing_batch";
|
const BATCH_KEY = "billing_batch";
|
||||||
const BATCH_LOCK_KEY = "billing_batch_lock";
|
const BATCH_LOCK_KEY = "billing_batch_lock";
|
||||||
const BATCH_SIZE = 50; // Batch size for processing
|
const BATCH_SIZE = 50; // Batch size for processing
|
||||||
const BATCH_TIMEOUT = 15000; // 15 seconds processing interval
|
const BATCH_TIMEOUT = 30000; // 15 seconds processing interval
|
||||||
const LOCK_TIMEOUT = 30000; // 30 seconds lock timeout
|
const LOCK_TIMEOUT = 60000; // 30 seconds lock timeout
|
||||||
|
|
||||||
// Define interfaces for billing operations
|
// Define interfaces for billing operations
|
||||||
interface BillingOperation {
|
interface BillingOperation {
|
||||||
|
|||||||
Reference in New Issue
Block a user