Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable worker pool size #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 9, 2021

  1. Use latest v1/v2 docker images for tests

    The official `latest` Docker image for InfluxDB is now a 2.x image. That image now supports initial provisioning via environment variables like the 1.x image does.
    
    This makes the following changes:
    - Explicitly use a v1.x image (latest is 1.8) for the v1 tests
    - Use the DockerHub image for v2 tests
    - Use the new image's built-in provisioning support to simplify the Makefile
    - Use a hard-coded token to avoid having to inject it everywhere dynamically in the tests
    - Revert back to using `/api/v2/delete` for cleaning up after tests. It is now supported again, and the v1 compatibility endpoint wasn't working the same way with the latest version.
    - Remove the `.token` file from `.gitignore`; we no longer generate this file.
    Randy Coulman committed Oct 9, 2021
    Configuration menu
    Copy the full SHA
    d6d77ca View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2021

  1. Allow configurable number of workers

    When sending events via HTTP, the `worker_pool` library is used with a hard-coded number of workers (3).
    
    This allows the number of workers to be configured by the client application. The default remains 3 if the client doesn't specify a value.
    Randy Coulman committed Oct 10, 2021
    Configuration menu
    Copy the full SHA
    0b88ff0 View commit details
    Browse the repository at this point in the history