Skip to content

Commit 031aa40

Browse files
authored
Merge pull request #150 from ikedas/issue-145
Restore default_ttl #145 by Ikedas
2 parents 30ed56e + e82b175 commit 031aa40

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/lib/Sympa/ConfDef.pm

+7-6
Original file line numberDiff line numberDiff line change
@@ -1754,6 +1754,13 @@ our @params = (
17541754
'file' => 'sympa.conf',
17551755
'default' => '300',
17561756
},
1757+
{ 'name' => 'default_ttl',
1758+
'gettext_id' => 'Default of inclusion timeout',
1759+
'gettext_comment' =>
1760+
'Default timeout between two scheduled synchronizations of list members with data sources.',
1761+
'file' => 'sympa.conf',
1762+
'default' => '3600',
1763+
},
17571764

17581765
{ 'gettext_id' => 'DKIM',
17591766
'gettext_comment' =>
@@ -2012,12 +2019,6 @@ our @params = (
20122019
'file' => 'sympa.conf',
20132020
'optional' => '1',
20142021
},
2015-
{ 'name' => 'default_ttl', #FIXME: maybe not used
2016-
'gettext_id' =>
2017-
'Default timeout between two scheduled synchronizations of list members with data sources.',
2018-
'file' => 'sympa.conf',
2019-
'default' => '3600',
2020-
},
20212022
{ 'name' => 'default_distribution_ttl', #FIXME: maybe not used
20222023
'gettext_id' =>
20232024
'Default timeout between two action-triggered synchronizations of list members with data sources.',

src/lib/Sympa/ListDef.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,7 @@ our %pinfo = (
16881688
'Sympa caches user data extracted using the include parameter. Their TTL (time-to-live) within Sympa can be controlled using this parameter. The default value is 3600',
16891689
'gettext_unit' => 'seconds',
16901690
'format' => '\d+',
1691-
'default' => 3600,
1691+
'default' => {'conf' => 'default_ttl'},
16921692
'length' => 6
16931693
},
16941694

0 commit comments

Comments
 (0)