Hacker News new | ask | show | jobs
by henrydark 1469 days ago
Unlike locks, can a second instance call the heartbeat api without acquiring the lock?
1 comments

Yes, any process can call a heartbeat. If the lock hadn't been acquired (by any process), the heartbeat call fails.