If you are using this deprecated CLI, you may get this error.
The workaround is to explicitly set thebatchSize
. Theimport
command takes an optionalbatchSize
argument using the-b
flag. Using this should circumvent the network speed test altogether.
It is highly recommended to switch to the new CLI as it is an official/supported library, and should be even easier + more convenient to use in your build process.
More information can be found in this github issue: https://github.com/algolia/algolia-cli-old/issues/60