Add JobRebroadcastTimeout 0 check for consistency
@@ -143,11 +143,14 @@ namespace Miningcore.Blockchain.Bitcoin
}
// periodically update transactions for current template
+ if(poolConfig.JobRebroadcastTimeout > 0)
+ {
triggers.Add(Observable.Timer(jobRebroadcastTimeout)
.TakeUntil(pollTimerRestart)
.Select(_ => (true, JobRefreshBy.PollRefresh, (string) null))
.Repeat());
}
+ }
else
{
