Set default `operation_threading` to `thread_per_shard` and exposed it as an option in the rest api.