Skip to content

A plugin took too long

error: the plugin python took longer than 30s while finding projects, so Axle stopped it
hint: Raise timeout under the plugin in axle.toml if it needs longer.

Axle gives a plugin 30 seconds to answer each question so that a stuck plugin can never hang it. This plugin didn’t answer in time, so Axle stopped it. A plugin that waits for input, a lock or the network can take this long; so can one in a very large repository.

If the plugin is slow rather than stuck, give it longer with timeout, in seconds:

[plugins.python]
source = "./tools/axle-python"
timeout = 120

Axle keeps a plugin’s answers until a file it reads changes, so a slow plugin only costs time when something changed. If it never answers, tell its authors.