# A plugin took too long

What "the plugin took longer than its time limit" means and how to fix it.

```text
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.
```

## Why it happens

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.

## How to fix it

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

```toml
[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.
