You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Licensed under the Apache License, Version 2.0 (the "License");
4
+
// you may not use this file except in compliance with the License.
5
+
// You may obtain a copy of the License at
6
+
//
7
+
// http://www.apache.org/licenses/LICENSE-2.0
8
+
//
9
+
// Unless required by applicable law or agreed to in writing, software
10
+
// distributed under the License is distributed on an "AS IS" BASIS,
11
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+
// See the License for the specific language governing permissions and
13
+
// limitations under the License.
14
+
15
+
/// Environment variable name that specifies the data scanner start delay in seconds.
16
+
/// - Purpose: Define the delay between data scanner operations.
17
+
/// - Unit: seconds (u64).
18
+
/// - Valid values: any positive integer.
19
+
/// - Semantics: This delay controls how frequently the data scanner checks for and processes data; shorter delays lead to more responsive scanning but may increase system load.
/// Default data scanner start delay in seconds if not specified in the environment variable.
25
+
/// - Value: 10 seconds.
26
+
/// - Rationale: This default interval provides a reasonable balance between scanning responsiveness and system load for most deployments.
27
+
/// - Adjustments: Users may modify this value via the `RUSTFS_DATA_SCANNER_START_DELAY_SECS` environment variable based on their specific scanning requirements and system performance.
0 commit comments