lthn.io/config/tenant.php
Claude 77cc45dd83
feat: lthn.io CorePHP app — TLD website + blockchain services
Modules:
- Chain: daemon RPC client (DaemonRpc singleton, cached queries)
- Explorer: block browser, tx viewer, alias directory, search, stats API
- Names: .lthn TLD registrar portal (availability check, lookup, directory)
- Trade: scaffold (DEX frontend + API)
- Pool: scaffold (mining pool dashboard)

Replaces 5 Node.js containers (5.9GB) with one FrankenPHP app.
Built on CorePHP framework pattern from host.uk.com.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-03 16:13:55 +01:00

63 lines
2 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Cache Configuration
|--------------------------------------------------------------------------
|
| Configure cache TTL values for various tenant-related features.
| All values are in seconds.
|
*/
'cache' => [
/*
|--------------------------------------------------------------------------
| Entitlement Cache TTL
|--------------------------------------------------------------------------
|
| How long to cache entitlement limits and feature lookups.
| Default: 300 seconds (5 minutes)
|
*/
'entitlement_ttl' => env('TENANT_ENTITLEMENT_CACHE_TTL', 300),
/*
|--------------------------------------------------------------------------
| Usage Cache TTL
|--------------------------------------------------------------------------
|
| How long to cache usage calculations. Should be shorter than
| entitlement TTL since usage changes more frequently.
| Default: 60 seconds (1 minute)
|
*/
'usage_ttl' => env('TENANT_USAGE_CACHE_TTL', 60),
],
/*
|--------------------------------------------------------------------------
| Account Deletion Configuration
|--------------------------------------------------------------------------
|
| Configure account deletion grace period and scheduling.
|
*/
'deletion' => [
/*
|--------------------------------------------------------------------------
| Grace Period Days
|--------------------------------------------------------------------------
|
| Number of days to wait before auto-deleting an account after
| a deletion request is made. Users can cancel during this time.
| Default: 7 days
|
*/
'grace_period_days' => env('TENANT_DELETION_GRACE_DAYS', 7),
],
];