Skip to content

Commit 44fcdc0

Browse files
authored
Merge pull request #72 from lilt/3.x-increase-job-ttr
Increase job ttr(s) to 30 minutes
2 parents 8283c13 + 45430ac commit 44fcdc0

6 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 3.2.1 - 2022-11-20
8+
### Added
9+
- Increase TTR for background jobs
10+
711
## 3.2.0 - 2022-11-20
812
### Added
913
- Option to enable target entries on translations publish

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "lilt/craft-lilt-plugin",
33
"description": "The Lilt plugin makes it easy for you to send content to Lilt for translation right from within Craft CMS.",
44
"type": "craft-plugin",
5-
"version": "3.2.0",
5+
"version": "3.2.1",
66
"keywords": [
77
"craft",
88
"cms",

src/modules/FetchInstantJobTranslationsFromConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class FetchInstantJobTranslationsFromConnector extends BaseJob implements Retrya
2323
{
2424
public const DELAY_IN_SECONDS = 10;
2525
public const PRIORITY = null;
26-
public const TTR = 60 * 5; // 5 minutes
26+
public const TTR = 60 * 30;
2727

2828
private const RETRY_COUNT = 3;
2929

src/modules/FetchJobStatusFromConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class FetchJobStatusFromConnector extends BaseJob implements RetryableJobInterfa
2222
{
2323
public const DELAY_IN_SECONDS = 10;
2424
public const PRIORITY = null;
25-
public const TTR = 60 * 5; // 5 minutes
25+
public const TTR = 60 * 30;
2626

2727
private const RETRY_COUNT = 3;
2828

src/modules/FetchVerifiedJobTranslationsFromConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class FetchVerifiedJobTranslationsFromConnector extends BaseJob implements Retry
2525
{
2626
public const DELAY_IN_SECONDS = 60 * 5; // 5 minutes
2727
public const PRIORITY = null;
28-
public const TTR = 60 * 5; // 5 minutes
28+
public const TTR = 60 * 30;
2929

3030
private const RETRY_COUNT = 3;
3131

src/modules/SendJobToConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class SendJobToConnector extends BaseJob implements RetryableJobInterface
2323
{
2424
public const DELAY_IN_SECONDS = 10;
2525
public const PRIORITY = null;
26-
public const TTR = 60 * 5; // 5 minutes
26+
public const TTR = 60 * 30;
2727

2828
private const RETRY_COUNT = 3;
2929

0 commit comments

Comments
 (0)