From 5f4df1250ab5282f8ff0a76f23f086b75924183e Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 2 Apr 2015 00:47:03 +0200 Subject: [PATCH] The alternative batch-send seems to work correctly. Needed to have a LoopingCall to make sure to empty the batch-queue now and then ... this is a little annoying but it doesn't take much resources (and creating the callback dynamically is death to performance at these time steps). See #620. --- .../server/profiling/dummyrunner_settings.py | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/evennia/server/profiling/dummyrunner_settings.py b/evennia/server/profiling/dummyrunner_settings.py index a6d2a2763a..cee771160f 100644 --- a/evennia/server/profiling/dummyrunner_settings.py +++ b/evennia/server/profiling/dummyrunner_settings.py @@ -205,9 +205,6 @@ def c_moves_s(client): "move through south exit if available" return "south" -def c_test(client): - return "@test" - # Action tuple (required) # # This is a tuple of client action functions. The first element is the @@ -248,9 +245,9 @@ def c_test(client): # #(0.1, c_creates_button), # #(0.4, c_moves)) # "inactive player" definition -ACTIONS = (c_login_nodig, - c_logout, - (1.0, c_test)) +#ACTIONS = (c_login_nodig, +# c_logout, +# (1.0, c_idles)) ## "normal player" definition #ACTIONS = ( c_login, # c_logout, @@ -265,14 +262,14 @@ ACTIONS = (c_login_nodig, # c_logout, # (1.0, c_moves_n)) ## "socializing heavy builder" definition -#ACTIONS = (c_login, -# c_logout, -# (0.1, c_socialize), -# (0.1, c_looks), -# (0.2, c_help), -# (0.1, c_creates_obj), -# (0.2, c_digs), -# (0.3, c_moves)) +ACTIONS = (c_login, + c_logout, + (0.1, c_socialize), + (0.1, c_looks), + (0.2, c_help), + (0.1, c_creates_obj), + (0.2, c_digs), + (0.3, c_moves)) ## "heavy digger memory tester" definition #ACTIONS = (c_login, # c_logout,