!7 cmodule SetSpamThreshold > DynSingleFunction { 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 + "."); } }