tsbs icon indicating copy to clipboard operation
tsbs copied to clipboard

Added insert-intervals-unit for sub-second granularity

Open MoellJ opened this issue 2 years ago • 0 comments

With the insert-intervals parameter one can control how frequently a batch is inserted into the DB by a worker. If one worker should insert multiple batches per second while still being rate-limited we need sub-second insert-intervals which currently isn't possible.

This PR fixes that by introducing millisecond and microsecond granularity to insert-intervals via insert-intervals-unit.

MoellJ avatar Aug 31 '23 08:08 MoellJ