!7 cmodule SetSpamThreshold > DynPrintLog { switchable double threshold = 2.0; // requests per IP + second start { dm_watchFieldAndNow threshold(r doIt); } void doIt { set(mainMainClass(), simpleSpamClientDetect2_perSecondThreshold := threshold); print("Set threshold to " + threshold + " requests per IP + second."); } }