added Adaptive flushing a/sync limit