Skip to content

Commit

Permalink
config: Add windows/. prefix into maxstdio parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Dec 30, 2024
1 parent 151009a commit 7c0b614
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/fluent-bit/flb_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ enum conf_type {
#define FLB_CONF_STR_HOT_RELOAD_ENSURE_THREAD_SAFETY "Hot_Reload.Ensure_Thread_Safety"

/* Set up maxstdio (Windows) */
#define FLB_CONF_STR_MAX_STDIO "Max_Stdio"
#define FLB_CONF_STR_WINDOWS_MAX_STDIO "windows.maxstdio"

/* DNS */
#define FLB_CONF_DNS_MODE "dns.mode"
Expand Down
2 changes: 1 addition & 1 deletion src/flb_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ struct flb_service_config service_configs[] = {
#endif

#ifdef FLB_SYSTEM_WINDOWS
{FLB_CONF_STR_MAX_STDIO,
{FLB_CONF_STR_WINDOWS_MAX_STDIO,
FLB_CONF_TYPE_INT,
offsetof(struct flb_config, maxstdio)},
#endif
Expand Down

0 comments on commit 7c0b614

Please sign in to comment.