Skip to content

Commit

Permalink
g3-dpi: fix default IMAP max idle count values
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-jq-b committed Feb 17, 2025
1 parent f13a98b commit 0b80538
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/g3-dpi/src/config/imap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ impl Default for ImapInterceptionConfig {
logout_wait_timeout: Duration::from_secs(10),
command_line_max_size: 4096,
response_line_max_size: 4096,
forward_max_idle_count: 6,
transfer_max_idle_count: 1,
forward_max_idle_count: 30,
transfer_max_idle_count: 5,
}
}
}
8 changes: 4 additions & 4 deletions sphinx/g3proxy/configuration/values/dpi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -928,22 +928,22 @@ imap interception

* forward_max_idle_count

**optional**, **type**: i32
**optional**, **type**: usize

Set the max IDLE count allowed when forwarding IMAP command/response lines, including IMAP IDLE state.

The IDLE check interval will be :ref:`task_idle_check_duration <conf_server_common_task_idle_check_duration>`.

**default**: 6
**default**: 30

* transfer_max_idle_count

**optional**, **type**: i32
**optional**, **type**: usize

Set the max IDLE count allowed when transferring IMAP command/response literal data.

The IDLE check interval will be :ref:`task_idle_check_duration <conf_server_common_task_idle_check_duration>`.

**default**: 1
**default**: 5

.. versionadded:: 1.9.7

0 comments on commit 0b80538

Please sign in to comment.