<?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,
    ],

];
