mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Remove cache invalidation from upgrade script
This commit is contained in:
@ -97,11 +97,6 @@ COMMAND="python3 netbox/manage.py clearsessions"
|
|||||||
echo "Removing expired user sessions ($COMMAND)..."
|
echo "Removing expired user sessions ($COMMAND)..."
|
||||||
eval $COMMAND || exit 1
|
eval $COMMAND || exit 1
|
||||||
|
|
||||||
# Clear all cached data
|
|
||||||
COMMAND="python3 netbox/manage.py invalidate all"
|
|
||||||
echo "Clearing cache data ($COMMAND)..."
|
|
||||||
eval $COMMAND || exit 1
|
|
||||||
|
|
||||||
if [ -v WARN_MISSING_VENV ]; then
|
if [ -v WARN_MISSING_VENV ]; then
|
||||||
echo "--------------------------------------------------------------------"
|
echo "--------------------------------------------------------------------"
|
||||||
echo "WARNING: No existing virtual environment was detected. A new one has"
|
echo "WARNING: No existing virtual environment was detected. A new one has"
|
||||||
|
Reference in New Issue
Block a user