mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 16:38:31 +00:00
4.20.46
* Changed: Re-enable the API stress testing experiment for testing the new server before migration.
This commit is contained in:
parent
a95c2ebccd
commit
93908471bb
4 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "frankerfacez",
|
||||
"author": "Dan Salvato LLC",
|
||||
"version": "4.20.45",
|
||||
"version": "4.20.46",
|
||||
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
||||
"license": "Apache-2.0",
|
||||
"scripts": {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
"name": "New API Stress Testing",
|
||||
"description": "Send duplicate requests to the new API server for load testing.",
|
||||
"groups": [
|
||||
{"value": true, "weight": 0},
|
||||
{"value": false, "weight": 100}
|
||||
{"value": true, "weight": 100},
|
||||
{"value": false, "weight": 0}
|
||||
]
|
||||
},
|
||||
"api_links": {
|
||||
|
|
|
@ -747,7 +747,7 @@ export default class Badges extends Module {
|
|||
|
||||
if ( this.experiments.getAssignment('api_load') && tries < 1 )
|
||||
try {
|
||||
fetch(`${NEW_API}/v2/badges`).catch(() => {});
|
||||
fetch(`${NEW_API}/v1/badges/ids`).catch(() => {});
|
||||
} catch(err) { /* do nothing */ }
|
||||
|
||||
try {
|
||||
|
|
|
@ -8,7 +8,7 @@ export const SERVER = DEBUG ? '//localhost:8000' : 'https://cdn.frankerfacez.com
|
|||
|
||||
export const CLIENT_ID = 'a3bc9znoz6vi8ozsoca0inlcr4fcvkl';
|
||||
export const API_SERVER = '//api.frankerfacez.com';
|
||||
export const NEW_API = '//api-test.frankerfacez.com';
|
||||
export const NEW_API = '//api2.frankerfacez.com';
|
||||
|
||||
//export const SENTRY_ID = 'https://1c3b56f127254d3ba1bd1d6ad8805eee@sentry.io/1186960';
|
||||
export const SENTRY_ID = 'https://07ded545d3224ca59825daee02dc7745@catbag.frankerfacez.com:444/2';
|
||||
|
@ -65,7 +65,7 @@ export const KNOWN_CODES = {
|
|||
'Gr(a|e)yFace': 'GrayFace'
|
||||
};
|
||||
|
||||
export const REPLACEMENT_BASE = '//cdn.frankerfacez.com/script/replacements/';
|
||||
export const REPLACEMENT_BASE = `${SERVER}/static/replacements/`;
|
||||
|
||||
export const REPLACEMENTS = {
|
||||
15: '15-JKanStyle.png',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue