From b8cc76c23fdce1f9cd8ae5cbf23e8271abffa121 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 30 Dec 2019 15:41:34 +0000 Subject: [PATCH] Increase timer resolution in test config Significantly speed up the timer in the test config (by a factor of 1000). On fast machines with cached tox envs, this results in an order of magnitude improvement in test runtime. Related timer values are lengthened to avoid test failures due to timeouts, and some others are shortened for consistency. This is obviously not suitable for normal operation, so the sample configuration remains untouched and thus the tox selftest_config testenv does not benefit from it. --- mudpy/tests/fixtures/test_daemon.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mudpy/tests/fixtures/test_daemon.yaml b/mudpy/tests/fixtures/test_daemon.yaml index 8edfc59..9052a6c 100644 --- a/mudpy/tests/fixtures/test_daemon.yaml +++ b/mudpy/tests/fixtures/test_daemon.yaml @@ -81,15 +81,15 @@ _lock: true .mudpy.process.daemon: true .mudpy.process.pidfile: var/mudpy.pid -.mudpy.timing.idle.disconnect.active: 6048000 +.mudpy.timing.idle.disconnect.active: 6000 .mudpy.timing.idle.disconnect.default: 6000 -.mudpy.timing.idle.disconnect.entering_account_name: 600 -.mudpy.timing.idle.warn.active: 5040000 +.mudpy.timing.idle.disconnect.entering_account_name: 6000 +.mudpy.timing.idle.warn.active: 5000 .mudpy.timing.idle.warn.default: 5000 -.mudpy.timing.idle.warn.entering_account_name: 500 -.mudpy.timing.increment: 0.1 -.mudpy.timing.save: 5 -.mudpy.timing.status: 25 +.mudpy.timing.idle.warn.entering_account_name: 5000 +.mudpy.timing.increment: 0.0001 +.mudpy.timing.save: 5000 +.mudpy.timing.status: 5000 .mudpy.user.pref_admin: - loglevel -- 2.11.0