> For the complete documentation index, see [llms.txt](https://machseeman.gitbook.io/sarafarm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://machseeman.gitbook.io/sarafarm/customizing-your-configuration/customizable-configuration/options/reconnect.md).

# Reconnect

Reconnect setting that will apply every time the bot is trying to connect into the server.

#### Spam Connect ( Bypassing Server Overload )

{% hint style="info" %}
Spam connect is designed to bypass the server overload so that your bots will not be hold for so long that you could wait like 2+ hours just so that your bots get logged in back.&#x20;
{% endhint %}

This feature spam connect will keep spamming connect in the safe method where it will try to connect until it's limit is reached ( x8 ), if it is then it will wait for `time` minutes before trying to connect again.

#### Example

```lua
reconnect = {
    spamConnect = true,
    limiter = 8,
    time = 5
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://machseeman.gitbook.io/sarafarm/customizing-your-configuration/customizable-configuration/options/reconnect.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
