change the polling unit from millisecond to second

change the polling frequency unit from millisecond to second.