v1.27.0-a #10

Closed
jonathanface wants to merge 473 commits from v1.27.0-a into master
Showing only changes of commit bcc1d09c84 - Show all commits

View File

@ -82,7 +82,7 @@ func Register(db *harmonydb.DB, hostnameAndPort string) (*Reg, error) {
if reg.shutdown.Load() { if reg.shutdown.Load() {
return return
} }
_, err := db.Exec(ctx, `UPDATE harmony_machines SET last_contact=CURRENT_TIMESTAMP`) _, err := db.Exec(ctx, `UPDATE harmony_machines SET last_contact=CURRENT_TIMESTAMP where id=$1`, reg.MachineID)
if err != nil { if err != nil {
logger.Error("Cannot keepalive ", err) logger.Error("Cannot keepalive ", err)
} }