Set locality wait