Increase timer resolution in test config 0.1.0
authorJeremy Stanley <fungi@yuggoth.org>
Mon, 30 Dec 2019 15:41:34 +0000 (15:41 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Mon, 30 Dec 2019 16:14:25 +0000 (16:14 +0000)
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

index 8edfc59..9052a6c 100644 (file)
@@ -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