Package system sms

This commit is contained in:
Simon Pocrnjič
2025-10-26 12:57:09 +01:00
parent 266af6595e
commit 369af34ad4
29 changed files with 2639 additions and 330 deletions
+8
View File
@@ -50,6 +50,14 @@
'timeout' => (int) env('SMSAPI_SI_TIMEOUT', 10),
],
],
// Throttling defaults for queued SMS jobs (per provider or per profile)
'throttle' => [
'scope' => env('SMS_THROTTLE_SCOPE', 'global'), // global|per_profile
'allow' => (int) env('SMS_THROTTLE_ALLOW', 30), // requests allowed
'every' => (int) env('SMS_THROTTLE_EVERY', 60), // per seconds
'jitter_seconds' => (int) env('SMS_THROTTLE_JITTER', 2),
'provider_key' => env('SMS_THROTTLE_PROVIDER_KEY', 'smsapi_si'),
],
],
];