From 863f3fffc5eb55d4367fc0b0d623cfaccd6a12f4 Mon Sep 17 00:00:00 2001 From: rinsvent Date: Sun, 17 May 2026 19:25:50 +0700 Subject: [PATCH] feat: add config --- config/slots.php | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 config/slots.php diff --git a/config/slots.php b/config/slots.php new file mode 100644 index 0000000..2ea602e --- /dev/null +++ b/config/slots.php @@ -0,0 +1,10 @@ + (int) env('SLOT_CACHE_FRESH_SECONDS', 5), + 'availability_cache_ttl_seconds' => (int) env('SLOT_CACHE_TTL_SECONDS', 15), + 'hold_ttl_minutes' => (int) env('SLOT_HOLD_TTL_MINUTES', 5), + 'idempotency_cache_ttl_seconds' => (int) env('SLOT_IDEMPOTENCY_TTL_SECONDS', 300), + 'idempotency_lock_seconds' => (int) env('SLOT_IDEMPOTENCY_LOCK_SECONDS', 30), + 'idempotency_wait_seconds' => (int) env('SLOT_IDEMPOTENCY_WAIT_SECONDS', 1), +];