That is the time to wait from sensing signal received until measuring to allow relay to activate, debounce and all that. And changed to indentation style so the whole file looks edited buts it's only partially.