Add ability to configure flows threshold