Skip to content

Commit

Permalink
Merge pull request #913 from cherrycl/issue-907
Browse files Browse the repository at this point in the history
fix: Set ping response threshold to 400ms when running on arm64
  • Loading branch information
cloudxxx8 authored Oct 14, 2024
2 parents 1e848a9 + 0f92f17 commit 66e4bbd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion TAF/config/performance-metrics/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

SECURITY_SERVICE_NEEDED=os.getenv("SECURITY_SERVICE_NEEDED")
COMPOSE_IMAGE=os.getenv("COMPOSE_IMAGE")
ARCH=os.getenv("ARCH")

# Service Port
if SECURITY_SERVICE_NEEDED == 'true':
Expand Down Expand Up @@ -130,7 +131,11 @@
PING_RES_LOOP_TIMES = 100

# Ping response time threshold value (in milliseconds)
PING_RES_THRESHOLD = 100
if ARCH == "arm64":
PING_RES_THRESHOLD = 400
else:
PING_RES_THRESHOLD = 100


# Allow the failure times for ping response time over than threshold setting
ALLOWABLE_OUTLIER = 5
Expand Down

0 comments on commit 66e4bbd

Please sign in to comment.