Skip to content

Commit 1114612

Browse files
committed
fix: increase Xray internal status check delay
Extend the retry delay to improve reliability of Xray service status checks
1 parent 433527a commit 1114612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/xray-core/xray.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export class XrayService implements OnApplicationBootstrap, OnModuleInit {
310310

311311
private async getXrayInternalStatus(): Promise<boolean> {
312312
const maxRetries = 3;
313-
const delay = 1000;
313+
const delay = 2000;
314314

315315
for (let attempt = 0; attempt < maxRetries; attempt++) {
316316
try {

0 commit comments

Comments
 (0)