New version

There is only one change:
shorter heartbeat period in global mode