Skip to content

Commit c217d6e

Browse files
authored
typing error with the option. fixing it to reflect reality (#53114)
Like the other rollout options, I assume this is meant to be a float. Its currently set as such in production and causing weird problems. How it looks in production: type: INTEGER from config: <not set> current: 1.0
1 parent d180d9b commit c217d6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sentry/options/defaults.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,9 @@
11481148
flags=FLAG_AUTOMATOR_MODIFIABLE,
11491149
)
11501150
register(
1151-
"performance.issues.n_plus_one_api_calls.ea-rollout", default=0, flags=FLAG_AUTOMATOR_MODIFIABLE
1151+
"performance.issues.n_plus_one_api_calls.ea-rollout",
1152+
default=0.0,
1153+
flags=FLAG_AUTOMATOR_MODIFIABLE,
11521154
)
11531155
register(
11541156
"performance.issues.n_plus_one_api_calls.ga-rollout",

0 commit comments

Comments
 (0)