Patchwork [4,of,4] configitems: register the 'worker.backgroundclose' config

login
register
mail settings
Submitter Boris Feld
Date July 13, 2017, 3:05 p.m.
Message ID <f62a1b71aa6959c3be5a.1499958345@FB>
Download mbox | patch
Permalink /patch/22293/
State Accepted
Headers show

Comments

Boris Feld - July 13, 2017, 3:05 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1498787157 -7200
#      Fri Jun 30 03:45:57 2017 +0200
# Node ID f62a1b71aa6959c3be5a88afe574b056b9ebec5a
# Parent  5f2e71c738b41b8a864ae8c7b38eff41985ebd99
# EXP-Topic config.register.special-case
configitems: register the 'worker.backgroundclose' config
Augie Fackler - July 14, 2017, 4:45 p.m.
On Thu, Jul 13, 2017 at 05:05:45PM +0200, Boris Feld wrote:
> # HG changeset patch
> # User Boris Feld <boris.feld@octobus.net>
> # Date 1498787157 -7200
> #      Fri Jun 30 03:45:57 2017 +0200
> # Node ID f62a1b71aa6959c3be5a88afe574b056b9ebec5a
> # Parent  5f2e71c738b41b8a864ae8c7b38eff41985ebd99
> # EXP-Topic config.register.special-case
> configitems: register the 'worker.backgroundclose' config

queued, thanks

Patch

diff -r 5f2e71c738b4 -r f62a1b71aa69 mercurial/configitems.py
--- a/mercurial/configitems.py	Fri Jun 30 03:44:05 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:45:57 2017 +0200
@@ -208,6 +208,9 @@ 
 coreconfigitem('ui', 'username',
     alias=[('ui', 'user')]
 )
+coreconfigitem('worker', 'backgroundclose',
+    default=dynamicdefault,
+)
 # Windows defaults to a limit of 512 open files. A buffer of 128
 # should give us enough headway.
 coreconfigitem('worker', 'backgroundclosemaxqueue',