Skip to content

Commit

Permalink
Add a default for query_timeout
Browse files Browse the repository at this point in the history
Ensures we have something set for unixodbc where this is used in
calculating the upper bound for polling intervals
  • Loading branch information
ndptech committed Oct 11, 2024
1 parent d23a063 commit a5a81d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_sql/rlm_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ static const conf_parser_t module_config[] = {
/*
* This only works for a few drivers.
*/
{ FR_CONF_OFFSET("query_timeout", rlm_sql_config_t, query_timeout) },
{ FR_CONF_OFFSET("query_timeout", rlm_sql_config_t, query_timeout), .dflt = "5" },

CONF_PARSER_TERMINATOR
};
Expand Down

0 comments on commit a5a81d8

Please sign in to comment.