mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-18 05:42:16 +02:00
fix status for active provider connections
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ url: ['http://localhost:3001/xmltv.php?epg_id=1', 'http://localhost:3001/xmltv.p
|
||||
```
|
||||
- added `estrip` to input for auto epg matching, if not given `["3840p", "uhd", "fhd", "hd", "sd", "4k", "plus", "raw"]` is default
|
||||
When no matching epg_id is found, the display name is used to match a channel name. The given strings are stripped to get a better match.
|
||||
|
||||
- fixed chno assignment issue
|
||||
|
||||
# 2.2.5 (2025-03-27)
|
||||
- fixed web ui playlist regexp search
|
||||
|
||||
@@ -82,6 +82,7 @@ impl ProviderConfig {
|
||||
pub fn try_allocate(&self, grace: bool) -> ProviderAllocation {
|
||||
let connections = self.current_connections.load(Ordering::SeqCst);
|
||||
if self.max_connections == 0 {
|
||||
self.current_connections.fetch_add(1, Ordering::SeqCst);
|
||||
return ProviderAllocation::Available(self);
|
||||
}
|
||||
if (!grace && connections < self.max_connections) || (grace && connections <= self.max_connections) {
|
||||
|
||||
Reference in New Issue
Block a user