mdwrkapi.lua: fix heartbeat units

Wrong heartbeat units was causing hangups and "deleting expired worker".