mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-04 16:34:52 +03:00
Merge remote-tracking branch 'origin/main' into pr/6971
This commit is contained in:
@@ -157,3 +157,18 @@ These have their own settings groups and pages:
|
||||
Email (SMTP) notifications are also configurable (host, port, encryption,
|
||||
recipients) with the same event types as the Telegram bot.
|
||||
</Callout>
|
||||
|
||||
### External traffic notifications
|
||||
|
||||
The **External traffic inform interval** controls how often the panel sends the
|
||||
external webhook. It defaults to 5 seconds and accepts values from 5 to 3600
|
||||
seconds. Traffic accounting, quota enforcement and online updates keep their
|
||||
five-second poll. Each webhook carries the deltas summed since the previous
|
||||
one, per client email and per inbound or outbound tag.
|
||||
|
||||
The request is sent outside the accounting poll, so a slow receiver cannot
|
||||
delay accounting. Each batch is sent once. If the receiver does not answer with
|
||||
a 2xx status within 3 seconds, the panel drops that batch, logs one warning
|
||||
with the reason, and logs again when deliveries resume. Deltas waiting for the
|
||||
next send are held in memory: disabling the webhook or a panel process exit
|
||||
discards them.
|
||||
|
||||
@@ -75,6 +75,10 @@
|
||||
"externalTrafficInformEnable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"externalTrafficInformInterval": {
|
||||
"example": 5,
|
||||
"type": "integer"
|
||||
},
|
||||
"externalTrafficInformURI": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -700,6 +704,7 @@
|
||||
"expireDiff",
|
||||
"externalSubUserAgent",
|
||||
"externalTrafficInformEnable",
|
||||
"externalTrafficInformInterval",
|
||||
"externalTrafficInformURI",
|
||||
"happLinkEnable",
|
||||
"ipLimitAllowlist",
|
||||
@@ -938,6 +943,10 @@
|
||||
"externalTrafficInformEnable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"externalTrafficInformInterval": {
|
||||
"example": 5,
|
||||
"type": "integer"
|
||||
},
|
||||
"externalTrafficInformURI": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1593,6 +1602,7 @@
|
||||
"expireDiff",
|
||||
"externalSubUserAgent",
|
||||
"externalTrafficInformEnable",
|
||||
"externalTrafficInformInterval",
|
||||
"externalTrafficInformURI",
|
||||
"happLinkEnable",
|
||||
"hasApiToken",
|
||||
@@ -4710,6 +4720,12 @@
|
||||
"example": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"heartbeatAgeMillis": {
|
||||
"example": 1250,
|
||||
"format": "int64",
|
||||
"nullable": true,
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
"example": 1,
|
||||
"type": "integer"
|
||||
@@ -13560,6 +13576,7 @@
|
||||
"enable": true,
|
||||
"guid": "node-guid",
|
||||
"hasApiToken": true,
|
||||
"heartbeatAgeMillis": 1250,
|
||||
"id": 1,
|
||||
"inboundCount": 3,
|
||||
"inboundSyncMode": "all",
|
||||
@@ -13765,6 +13782,7 @@
|
||||
"enable": true,
|
||||
"guid": "node-guid",
|
||||
"hasApiToken": true,
|
||||
"heartbeatAgeMillis": 1250,
|
||||
"id": 1,
|
||||
"inboundCount": 3,
|
||||
"inboundSyncMode": "all",
|
||||
@@ -13919,6 +13937,7 @@
|
||||
"enable": true,
|
||||
"guid": "node-guid",
|
||||
"hasApiToken": true,
|
||||
"heartbeatAgeMillis": 1250,
|
||||
"id": 1,
|
||||
"inboundCount": 3,
|
||||
"inboundSyncMode": "all",
|
||||
@@ -19719,6 +19738,7 @@
|
||||
"enable": true,
|
||||
"guid": "node-guid",
|
||||
"hasApiToken": true,
|
||||
"heartbeatAgeMillis": 1250,
|
||||
"id": 1,
|
||||
"inboundCount": 3,
|
||||
"inboundSyncMode": "all",
|
||||
|
||||
Reference in New Issue
Block a user