allow different duration for the function
Merge pull request #5295 from ticoann/wmdata_mining_polling_cycle

allow different duration for the function