diff --git a/src/Explorer/Panes/SettingsPane/SettingsPane.tsx b/src/Explorer/Panes/SettingsPane/SettingsPane.tsx index d0bc5b23d..1f0eda4f7 100644 --- a/src/Explorer/Panes/SettingsPane/SettingsPane.tsx +++ b/src/Explorer/Panes/SettingsPane/SettingsPane.tsx @@ -386,10 +386,10 @@ export const SettingsPane: FunctionComponent<{ explorer: Explorer }> = ({ labelPosition={Position.top} defaultValue={(ruThreshold || DefaultRUThreshold).toString()} min={1} - step={10} + step={1000} onChange={handleOnRUThresholdSpinButtonChange} - incrementButtonAriaLabel="Increase value by 10" - decrementButtonAriaLabel="Decrease value by 10" + incrementButtonAriaLabel="Increase value by 1000" + decrementButtonAriaLabel="Decrease value by 1000" styles={spinButtonStyles} /> diff --git a/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap b/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap index f6e6a66ba..6f4ac0c06 100644 --- a/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap +++ b/src/Explorer/Panes/SettingsPane/__snapshots__/SettingsPane.test.tsx.snap @@ -137,14 +137,14 @@ exports[`Settings Pane should render Default properly 1`] = `
{ onDismiss={() => { setShowRUThresholdMessageBar(false); }} + styles={{ + innerText: { + fontWeight: "bold", + }, + }} > { - "Avoid high cost queries! We automatically abort them if they exceed the set RU limit. To adjust your limit go to Settings > RU threshold." + "To prevent queries from using excessive RUs, Data Explorer has a 5,000 RU default limit. To modify or remove the limit, go to the Settings cog on the right and find 'RU Threshold'." } )} diff --git a/src/Shared/StorageUtility.ts b/src/Shared/StorageUtility.ts index b9b02ff11..b229ac7db 100644 --- a/src/Shared/StorageUtility.ts +++ b/src/Shared/StorageUtility.ts @@ -51,4 +51,4 @@ export const getRUThreshold = (): number => { return DefaultRUThreshold; }; -export const DefaultRUThreshold = 100; +export const DefaultRUThreshold = 5000;