Mailman: avoid DB lockups on parallel servers
This commit is contained in:
parent
ed9990e17b
commit
63a56a4532
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ chown mailman:mailman -R $INDEXDIR
|
|||
chmod g+w -R $INDEXDIR
|
||||
|
||||
# Give database rights to the non-admin user
|
||||
sleep $[ ( $RANDOM % 10 ) + 1 ]s # avoid simultaneous lockups on parallel servers. Yes, this is dirty.
|
||||
$BASEDIR/bin/pg-give-rights.py > /dev/null
|
||||
|
||||
# SELinux contexts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue