@jeffusion/bungee-core 6.0.3 → 6.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3784,7 +3784,10 @@ var rpc = [];
|
|
|
3784
3784
|
var controlApi = api;
|
|
3785
3785
|
var controlRpc = rpc;
|
|
3786
3786
|
async function readManagementSetup(state) {
|
|
3787
|
-
const records = await state.list()
|
|
3787
|
+
const records = await state.list();
|
|
3788
|
+
if (!records.length)
|
|
3789
|
+
return { initialized: false };
|
|
3790
|
+
const setup = setupRecord(records);
|
|
3788
3791
|
slots(records, "session", MAX_SESSIONS, validateSession);
|
|
3789
3792
|
slots(records, "failure", MAX_FAILURES, validateFailure);
|
|
3790
3793
|
const policy = records.find((r) => r.key === "session-policy");
|
|
@@ -3908,4 +3911,4 @@ export {
|
|
|
3908
3911
|
rpc
|
|
3909
3912
|
};
|
|
3910
3913
|
|
|
3911
|
-
//# debugId=
|
|
3914
|
+
//# debugId=6F0EF3E8D5F22B1A64756E2164756E21
|