Revert "[dhcp_relay] Add extra sleep before starting relay agent processes (#3824)" (#3857)

This reverts commit 7622a30d98.
This commit is contained in:
Joe LeVeque 2019-12-07 20:18:49 -08:00 committed by Abhishek
parent 4ea9705edf
commit 0f6fa49a71

View File

@ -16,12 +16,6 @@ if [ $(supervisorctl status | grep -c "^isc-dhcp-relay:") -gt 0 ]; then
# lifetime of the process. # lifetime of the process.
/usr/bin/wait_for_intf.sh /usr/bin/wait_for_intf.sh
# Allow a bit more time for interfaces to settle before starting the
# relay agent processes.
# FIXME: Remove/decrease this once we determine how to prevent future race
# conditions here.
sleep 180
# Start all DHCP relay agent(s) # Start all DHCP relay agent(s)
supervisorctl start isc-dhcp-relay:* supervisorctl start isc-dhcp-relay:*
fi fi