refactor(queries): changed dev version to be 1500ms vs 5000ms

This commit is contained in:
2026-04-03 17:16:02 -05:00
parent 0059b9b850
commit f3b8dd94e5
4 changed files with 4 additions and 3 deletions

View File

@@ -56,6 +56,7 @@
"alplaprod", "alplaprod",
"bookin", "bookin",
"Datamart", "Datamart",
"dotenvx",
"dyco", "dyco",
"intiallally", "intiallally",
"manadatory", "manadatory",

View File

@@ -13,7 +13,7 @@ export function getSettings() {
const fetch = async () => { const fetch = async () => {
if (window.location.hostname === "localhost") { if (window.location.hostname === "localhost") {
await new Promise((res) => setTimeout(res, 5000)); await new Promise((res) => setTimeout(res, 1500));
} }
const { data } = await axios.get("/lst/api/settings"); const { data } = await axios.get("/lst/api/settings");

View File

@@ -13,7 +13,7 @@ export function notificationSubs(userId?: string) {
const fetch = async (userId?: string) => { const fetch = async (userId?: string) => {
if (window.location.hostname === "localhost") { if (window.location.hostname === "localhost") {
await new Promise((res) => setTimeout(res, 5000)); await new Promise((res) => setTimeout(res, 1500));
} }
const { data } = await axios.get( const { data } = await axios.get(

View File

@@ -13,7 +13,7 @@ export function notifications() {
const fetch = async () => { const fetch = async () => {
if (window.location.hostname === "localhost") { if (window.location.hostname === "localhost") {
await new Promise((res) => setTimeout(res, 5000)); await new Promise((res) => setTimeout(res, 1500));
} }
const { data } = await axios.get("/lst/api/notification"); const { data } = await axios.get("/lst/api/notification");