promise/plugin: check_file_state configurability

Allow to configure result_count and failure_amount.
1 job for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds