/allowed returns keep_open_until from the newest approved hold in doorlog; /longpoll skips hold events to avoid spurious open pulses. Fixes: assert->raise for SECRET check, text() on 403, remove dead /logs code, flatten auth decorator, by_slackid None fallback, load kube config once, guard missing slack command, backoff on PyMongoError, mongo->mongosh.
10 lines
134 B
Bash
10 lines
134 B
Bash
#!/bin/bash
|
|
mongosh --quiet <<EOF
|
|
rs.initiate({
|
|
_id: 'rs0',
|
|
members: [
|
|
{_id: 0, host: '127.0.0.1:27017'}
|
|
]
|
|
})
|
|
EOF
|