[Web] Filter duplicates when adding multiple transports
parent
78f5ac34dd
commit
59df735aa8
|
@ -1,8 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Waiting for PHP to settle..."
|
||||
sleep 10
|
||||
|
||||
until nc phpfpm 9001 -z; do
|
||||
echo "Waiting for PHP on port 9001..."
|
||||
sleep 3
|
||||
|
|
|
@ -243,7 +243,7 @@ function transport($_action, $_data = null) {
|
|||
}
|
||||
}
|
||||
}
|
||||
$destinations = array_values($destinations);
|
||||
$destinations = array_values(array_unique($destinations));
|
||||
if (empty($destinations)) { return false; }
|
||||
if (isset($next_hop_matches[1])) {
|
||||
if (in_array($next_hop_clean, $existing_nh)) {
|
||||
|
|
|
@ -68,7 +68,7 @@ services:
|
|||
- clamd
|
||||
|
||||
rspamd-mailcow:
|
||||
image: mailcow/rspamd:1.51
|
||||
image: mailcow/rspamd:1.52
|
||||
build: ./data/Dockerfiles/rspamd
|
||||
stop_grace_period: 30s
|
||||
depends_on:
|
||||
|
|
Loading…
Reference in New Issue