# Settings

> Configure general preferences and manage stored data for Maestro Scraper.

The Settings page is divided into two sections: **General** and **Data Management**.

## General Settings

### Ignore Duplicates

When enabled, the app skips addresses that have already been detected in the same chat. This prevents forwarding the same contract address multiple times from the same source.

- **Default**: Enabled
- Duplicate detection is per-channel - the same address from different channels will still be forwarded

### Use Maestro Pro

Toggle between the standard Maestro bot and Maestro Pro:

- **Maestro** ([`@maestro`](https://t.me/maestro)) - The standard trading bot (default)
- **Maestro Pro** ([`@maestropro`](https://t.me/maestropro)) - The premium trading bot

The currently active bot is shown with a green "Active" badge.

### Forward to Maestro (Experimental)

When enabled, a "Forward to Maestro" button appears on activity log entries that contain detected addresses. This allows you to manually resend any address to the Maestro bot at any time.

## Data Management

### Log Retention Period

Controls how long activity logs are kept before being automatically cleaned up:

- **7 days** / **14 days** / **21 days** / **30 days**
- Expired entries are removed automatically when the app starts
- Maximum of 10,000 log entries are stored regardless of retention period
- When the limit is reached, the oldest entries are automatically dropped to make room for new ones

### Clear Activity Logs

Permanently delete all activity log entries. Requires confirmation. This action cannot be undone.

### Clear Address History

Permanently delete the duplicate detection history. After clearing:

- Previously detected addresses may be forwarded again
- The duplicate counter resets
- Requires confirmation

### Address History Limit

The address history is capped at **10,000 entries**. When this limit is reached, the oldest 20% of entries are automatically removed to make room for new ones. You can see the current usage on the Settings page (e.g., "3,500 / 10,000 addresses"). A warning appears when usage exceeds 50%.

> **NOTE**
>
> Both activity logs and address history automatically remove the oldest data when their limits are reached, so you don't need to manage them manually. However, if the app feels slow, you can clear them from this page to free up space.
