Skip to content

Config Param 'queueJobTtr' => n, does not change Queue-Job TTR of 300 #842

Description

@r-anwar

Bug Report

Hi,

I have changed in config/blitz.php the following param:

'queueJobTtr' => 840,

But the Blitz-Queue still forks processes with a timeout of 300s.

Diagnostics Report

Application Info

  • PHP version: 8.2.29
  • Craft edition & version: Pro 4.16.11
  • Database driver & version: PostgreSQL 16.9

Installed Plugins

  • Asset Interceptor: v4.0.3
  • Blitz: 4.23.15
  • Control Panel CSS: 2.6.0
  • Cookies: 4.0.1
  • Dates & Opening Hours: dev-main
  • Embedded Assets: 4.2.3
  • Enforce password: 2.0.0
  • Hyper: 1.3.8
  • Imager X: 4.5.3
  • Importer: 1.0.0
  • Incognito Field: 1.3.0
  • Inventory: 2.2.0
  • KeyChain: 4.0.0
  • Matrix Colors: 3.0.0
  • Minify: 4.0.1
  • Neo: 4.4.4
  • Publisher X: 3.0.1
  • Redactor: 3.1.0
  • Redactor Anchors: 1.5.0
  • SAML Service Provider: 4.3.1
  • Sprig: 2.15.0
  • SuperSort: 4.0.0
  • Super Table: 3.0.16

Loaded Modules

  • samlhandler: modules\samlhandler\src\SAMLModule
  • logging: modules\logging\LogModule
  • misc: modules\misc\Module
  • clamav: modules\clamav\Module
  • clipboard: modules\clipboard\Module
  • schema: modules\schema\Module
  • wienermelange: wm\WienerMelange
  • wien: modules\Module
  • rel-check: modules\craftrelcheck\RelcheckModule
  • multi-search: modules\craftmultisearch\MultisearchModule
  • site-widget: modules\craftsitewidget\SiteWidgetModule
  • elasticsearch: modules\elasticsearch\ElasticSearchModule
  • conrex: modules\conrex\RedirectOnIncomplete
  • relationshandler: modules\relationshandler\RelationHandlerModule
  • craftimporter: modules\craftimporter\ImporterModule
  • weatherIcons: modules\weatherIcons\Module
  • redis-cache: modules\rediscache\RedisCacheModule
  • codeeditor: nystudio107\codeeditor\CodeEditor
  • sprig-core: putyourlightson\sprig\Sprig
  • verbb-base: verbb\base\Base

Blitz Plugin Settings

{
    "debug": false,
    "hintsEnabled": false,
    "cachingEnabled": true,
    "refreshCacheEnabled": true,
    "refreshMode": 2,
    "includedUriPatterns": [
        {
            "siteId": "",
            "uriPattern": ".*"
        }
    ],
    "excludedUriPatterns": [],
    "cacheStorageType": "putyourlightson\\blitz\\drivers\\storage\\FileStorage",
    "cacheStorageSettings": {
        "folderPath": "@webroot\/cache\/blitz",
        "createGzipFiles": true,
        "countCachedFiles": false
    },
    "cacheStorageTypes": [],
    "cacheGeneratorType": "putyourlightson\\blitz\\drivers\\generators\\LocalGenerator",
    "cacheGeneratorSettings": {
        "concurrency": 10
    },
    "cacheGeneratorTypes": [],
    "customSiteUris": [],
    "cachePurgerType": "putyourlightson\\blitz\\drivers\\purgers\\DummyPurger",
    "cachePurgerSettings": [],
    "cachePurgerTypes": [],
    "deployerType": "putyourlightson\\blitz\\drivers\\deployers\\DummyDeployer",
    "deployerSettings": [],
    "deployerTypes": [],
    "ssiEnabled": false,
    "ssiTagFormat": "<!--#caddy httpInclude \"{uri}\" -->",
    "detectSsiEnabled": true,
    "esiEnabled": false,
    "queryStringCaching": 0,
    "includedQueryStringParams": [
        {
            "siteId": "",
            "queryStringParam": ".*"
        }
    ],
    "excludedQueryStringParams": [
        {
            "siteId": "",
            "queryStringParam": "gclid"
        },
        {
            "siteId": "",
            "queryStringParam": "fbclid"
        }
    ],
    "apiKey": "",
    "generatePagesWithQueryStringParams": true,
    "purgeAssetImagesWhenChanged": true,
    "refreshCacheAutomaticallyForGlobals": false,
    "refreshCacheWhenElementMovedInStructure": true,
    "refreshCacheWhenElementSavedUnchanged": false,
    "refreshCacheWhenElementSavedNotLive": false,
    "cacheNonHtmlResponses": true,
    "trackElements": true,
    "trackElementQueries": true,
    "excludedTrackedElementQueryParams": [],
    "cacheElements": true,
    "cacheElementQueries": true,
    "cacheDuration": null,
    "nonCacheableElementTypes": [],
    "sourceIdAttributes": [],
    "liveStatuses": [],
    "integrations": [],
    "defaultCacheControlHeader": "no-store",
    "cacheControlHeader": "public, s-maxage=31536000, max-age=0",
    "cacheControlHeaderExpired": "public, s-maxage=5, max-age=0",
    "sendPoweredByHeader": true,
    "outputComments": false,
    "refreshCacheJobPriority": 10,
    "driverJobBatchSize": 10,
    "driverJobPriority": 100,
    "queueJobTtr": 840,
    "maxRetryAttempts": 10,
    "maxUriLength": 255,
    "mutexTimeout": 1,
    "commands": [],
    "injectScriptEvent": "DOMContentLoaded",
    "injectScriptPosition": 3
}

Recommendations

  • ❌ The blitz/cache/refresh-expired console command has not been executed within the past 24 hours.
  • ✅ Blitz is configured not to refresh cached pages when an element is saved but unchanged.
  • ✅ Blitz is configured not to refresh cached pages when an element is saved but not live.
  • ✅ Image transforms are configured to be generated before page load.
  • ✅ No globals exist.
  • ✅ The @web alias is not used in the base URL of any sites.
  • ✅ Queue jobs are configured not to run automatically via web requests.
  • ✅ The Blitz Hints utility is disabled.
  • ✅ The Async Queue plugin is not installed or enabled.

Site Tracking [2]

  • Tracked Pages: 0
  • Tracked Includes: 0
  • Tracked Query String Params: 0
  • Tracked Elements: 0
  • Tracked Element Queries: 0
  • Tracked Tags: 0

Site Tracking [52]

  • Tracked Pages: 22240
  • Tracked Includes: 0
  • Tracked Query String Params: 0
  • Tracked Elements: 31726
    • craft\elements\Asset: 19.589
    • craft\elements\Entry: 12.136
    • codemonauts\glossary\elements\Glossary: 1
  • Tracked Element Queries: 10740
    • craft\elements\Entry: 10.740
  • Tracked Tags: 0

Site Tracking [53]

  • Tracked Pages: 276
  • Tracked Includes: 0
  • Tracked Query String Params: 0
  • Tracked Elements: 626
    • craft\elements\Entry: 552
    • craft\elements\Asset: 74
  • Tracked Element Queries: 5
    • craft\elements\Entry: 5
  • Tracked Tags: 0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions