Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/Jobs/ProcessMediaWikiJobsJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function handle(Client $kubernetesClient, MediaWikiHostResolver $resolver
],
],
'spec' => [
'ttlSecondsAfterFinished' => 0,
'ttlSecondsAfterFinished' => 172800, // 1 week
'template' => [
'metadata' => [
'name' => 'run-all-mw-jobs',
Expand Down
2 changes: 1 addition & 1 deletion app/Jobs/SpawnQueryserviceUpdaterJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function handle(Client $kubernetesClient): void {
],
],
'spec' => [
'ttlSecondsAfterFinished' => 14 * 24 * 60 * 60, // 2 weeks
'ttlSecondsAfterFinished' => 172800, // 1 week
'template' => [
'metadata' => [
'name' => 'run-qs-updater',
Expand Down
4 changes: 2 additions & 2 deletions app/Jobs/WikiEntityImportJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function spawn(): string {
return $jobName;
}

private function constructSpec(): array {
private function constructSpec(): array {g ad
return [
'metadata' => [
'generateName' => 'run-transferbot-',
Expand All @@ -153,7 +153,7 @@ private function constructSpec(): array {
],
],
'spec' => [
'ttlSecondsAfterFinished' => 0,
'ttlSecondsAfterFinished' => 172800, // 1 week
'backoffLimit' => 0,
'template' => [
'metadata' => [
Expand Down
Loading