From 2bf1397ec3885cc4ee92c6b620ba0bd0896aabd6 Mon Sep 17 00:00:00 2001 From: Sarah Date: Mon, 2 Sep 2024 14:09:55 +0200 Subject: [PATCH] Fix ttr on queued job + update changelog & version --- CHANGELOG.md | 4 ++++ composer.json | 2 +- src/CarbonTracker.php | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57b0916..48eb44c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Release Notes for carbon-tracker +## 5.0.2 - 2024-09-02 +### Added +- Fixed ttr on queue job + ## 5.0.1 - 2024-04-10 ### Fixed - Fixed an installation error when using PostgreSQL ([#8](https://github.com/statikbe/craft-carbon-tracker/issues/8)) diff --git a/composer.json b/composer.json index 3b69d15..8ca8434 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "statikbe/craft-carbon-tracker", "description": "Carbon tracker aims to raise awareness of the carbon emissions created by webpages, by displaying these insights along side the content in Craft's control panel.", "type": "craft-plugin", - "version": "5.0.1", + "version": "5.0.2", "license": "mit", "support": { "email": "support@statik.be", diff --git a/src/CarbonTracker.php b/src/CarbonTracker.php index ec5b4ee..6264683 100644 --- a/src/CarbonTracker.php +++ b/src/CarbonTracker.php @@ -85,7 +85,7 @@ function(ModelEvent $event) { 'entryId' => $entry->id, 'siteId' => $entry->siteId, 'title' => $entry->title, - ]), 2000, 0, 1); + ]), 2000, 0, 300); } });