pr_17601-2.patch 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. --- deactivate-projects.sh
  2. +++ deactivate-projects.sh
  3. @@ -14,7 +14,7 @@ if [[ "${ENABLE_CRON_RESOURCE_DELETION:-null}" != "true" ]]; then
  4. exit 0
  5. fi
  6. -WEB_URL='http://localhost:3000'
  7. +WEB_URL='http://127.0.0.1:3000'
  8. USER=$(cat /etc/container_environment/WEB_API_USER)
  9. PASS=$(cat /etc/container_environment/WEB_API_PASSWORD)
  10. --- delete-projects.sh
  11. +++ delete-projects.sh
  12. @@ -14,7 +14,7 @@ if [[ "${ENABLE_CRON_RESOURCE_DELETION:-null}" != "true" ]]; then
  13. exit 0
  14. fi
  15. -WEB_URL='http://localhost:3000'
  16. +WEB_URL='http://127.0.0.1:3000'
  17. USER=$(cat /etc/container_environment/WEB_API_USER)
  18. PASS=$(cat /etc/container_environment/WEB_API_PASSWORD)
  19. --- delete-users.sh
  20. +++ delete-users.sh
  21. @@ -14,7 +14,7 @@ if [[ "${ENABLE_CRON_RESOURCE_DELETION:-null}" != "true" ]]; then
  22. exit 0
  23. fi
  24. -WEB_URL='http://localhost:3000'
  25. +WEB_URL='http://127.0.0.1:3000'
  26. USER=$(cat /etc/container_environment/WEB_API_USER)
  27. PASS=$(cat /etc/container_environment/WEB_API_PASSWORD)
  28. --- project-history-periodic-flush.sh
  29. +++ project-history-periodic-flush.sh
  30. @@ -7,6 +7,6 @@ echo "Flush project-history queue"
  31. echo "--------------------------"
  32. date
  33. -PROJECT_HISTORY_URL='http://localhost:3054'
  34. +PROJECT_HISTORY_URL='http://127.0.0.1:3054'
  35. curl -X POST "${PROJECT_HISTORY_URL}/flush/old?timeout=3600000&limit=5000&background=1"
  36. --- project-history-retry-hard.sh
  37. +++ project-history-retry-hard.sh
  38. @@ -7,6 +7,6 @@ echo "Retry project-history errors (hard)"
  39. echo "-----------------------------------"
  40. date
  41. -PROJECT_HISTORY_URL='http://localhost:3054'
  42. +PROJECT_HISTORY_URL='http://127.0.0.1:3054'
  43. curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=hard&timeout=3600000&limit=10000"
  44. --- project-history-retry-soft.sh
  45. +++ project-history-retry-soft.sh
  46. @@ -6,6 +6,6 @@ echo "-----------------------------------"
  47. echo "Retry project-history errors (soft)"
  48. echo "-----------------------------------"
  49. -PROJECT_HISTORY_URL='http://localhost:3054'
  50. +PROJECT_HISTORY_URL='http://127.0.0.1:3054'
  51. curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=soft&timeout=3600000&limit=10000"