Be even more lenient about FE lockout

pull/1427/head
Rick Carlino 2019-09-10 17:02:57 -05:00
parent 8d9f5cfe7c
commit f5aaf4acd9
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ import { API } from "../api/index";
import { FarmBotInternalConfig } from "farmbot/dist/config";
import { now } from "../devices/connectivity/qos";
export const PING_INTERVAL = 2000;
export const ACTIVE_THRESHOLD = PING_INTERVAL * 2;
export const PING_INTERVAL = 1800;
export const ACTIVE_THRESHOLD = PING_INTERVAL * 3;
export const LAST_IN: keyof FarmBotInternalConfig = "LAST_PING_IN";
export const LAST_OUT: keyof FarmBotInternalConfig = "LAST_PING_OUT";