diff options
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-x | bitbake/lib/bb/main.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index eba4aefb54..0418d52b84 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/lib/bb/main.py | |||
@@ -259,8 +259,10 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters): | |||
259 | help="The name/address for the bitbake xmlrpc server to bind to.") | 259 | help="The name/address for the bitbake xmlrpc server to bind to.") |
260 | 260 | ||
261 | parser.add_option("-T", "--idle-timeout", type=float, dest="server_timeout", | 261 | parser.add_option("-T", "--idle-timeout", type=float, dest="server_timeout", |
262 | default=os.environ.get("BB_SERVER_TIMEOUT", 0) or None, | 262 | default=os.getenv("BB_SERVER_TIMEOUT"), |
263 | help="Set timeout to unload bitbake server due to inactivity") | 263 | help="Set timeout to unload bitbake server due to inactivity, " |
264 | "set to -1 means no unload, " | ||
265 | "default: Environment variable BB_SERVER_TIMEOUT.") | ||
264 | 266 | ||
265 | parser.add_option("", "--no-setscene", action="store_true", | 267 | parser.add_option("", "--no-setscene", action="store_true", |
266 | dest="nosetscene", default=False, | 268 | dest="nosetscene", default=False, |