mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-08 05:52:10 +07:00
Update prober last activity timestamp
This executed after prober submit fetch report
This commit is contained in:
parent
a2669c558f
commit
32ef14d1d5
1 changed files with 2 additions and 0 deletions
|
@ -471,6 +471,8 @@ func (repo *MoneroRepo) ProcessJob(report ProbeReport, proberId int64) error {
|
||||||
repo.Delete(report.NodeInfo.Id)
|
repo.Delete(report.NodeInfo.Id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
repo.db.Exec(`UPDATE tbl_prober SET last_submit_ts = ? WHERE id = ?`, now.Unix(), proberId)
|
||||||
|
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue