Posthog disable click event and increase timeout for nitro load model request (#1060)
Co-authored-by: Service Account <service@jan.ai>
This commit is contained in:
parent
7c610517ea
commit
9398b734a1
@ -138,8 +138,8 @@ function loadLLMModel(settings): Promise<Response> {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
body: JSON.stringify(settings),
|
||||
retries: 3,
|
||||
retryDelay: 500,
|
||||
retries: 5,
|
||||
retryDelay: 1000,
|
||||
}).catch((err) => {
|
||||
console.error(err);
|
||||
log.error("error: " + JSON.stringify(err));
|
||||
|
||||
@ -2,9 +2,7 @@ import posthog, { Properties } from 'posthog-js'
|
||||
|
||||
posthog.init(ANALYTICS_ID, {
|
||||
api_host: ANALYTICS_HOST,
|
||||
autocapture: {
|
||||
url_allowlist: ['./*'],
|
||||
},
|
||||
autocapture: false,
|
||||
})
|
||||
|
||||
export const instance = posthog
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user