mirror of
https://github.com/jez500/pricebuddy.git
synced 2026-11-24 19:58:13 +01:00
35 lines
649 B
PHP
Executable File
35 lines
649 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Settings;
|
|
|
|
use Spatie\LaravelSettings\Settings;
|
|
|
|
class AppSettings extends Settings
|
|
{
|
|
public string $scrape_schedule = '0 6 * * *';
|
|
|
|
public int $scrape_cache_ttl = 720;
|
|
|
|
public int $sleep_seconds_between_scrape = 10;
|
|
|
|
public int $log_retention_days = 30;
|
|
|
|
public int $max_attempts_to_scrape = 3;
|
|
|
|
public array $notification_services = [];
|
|
|
|
public array $integrated_services = [];
|
|
|
|
public array $default_locale_settings = [];
|
|
|
|
public static function new(): self
|
|
{
|
|
return resolve(static::class);
|
|
}
|
|
|
|
public static function group(): string
|
|
{
|
|
return 'app';
|
|
}
|
|
}
|