Files
DatBrowser/config/jobs.php
Matthias Guillitte 35327d7e14
All checks were successful
Push image to registry / build-image (push) Successful in 5m38s
Put constants in Laravel config
2025-06-07 16:29:28 +02:00

45 lines
1.0 KiB
PHP

<?php
use Laravel\Telescope\Http\Middleware\Authorize;
use Laravel\Telescope\Watchers;
return [
/**
* Remove old job runs from the database.
*/
'pruneOldJobRuns' => [
'enabled' => true,
/**
* How many job runs a job can keep before we start pruning old ones.
*/
'max_runs_per_job' => 50,
],
/**
* Instagram repost job.
*/
'instagramRepost' => [
/**
* Maximum number of posts to repost per account per job run.
*/
'max_reposts_per_account' => 2,
/**
* Max number of reposts per job
* This is the maximum number of posts that will be reposted in a single job run.
*
* The value mus try to not trigge rany API limit or bot detection service.
*/
'max_reposts_per_job' => 3,
/**
* Maximum number of tries to repost a reel
* If a reel fails to be reposted, it will be retried up to this number of times.
*/
'max_repost_tries' => 3,
],
];