You can now write code like this:
FLOOD_COUNTER(errcount, 100);
...
NO_FLOOD(errcount,
error_report(oops, something bad happened),
error_report(further errors suppressed));
which would print the oops, ... error message up to 100 times,
followed by the further errors
Am 08.07.2015 um 14:50 hat Richard W.M. Jones geschrieben:
You can now write code like this:
FLOOD_COUNTER(errcount, 100);
...
NO_FLOOD(errcount,
error_report(oops, something bad happened),
error_report(further errors suppressed));
which would print the oops,