-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add port as variable and fix paths #6
Conversation
csilva-cl
commented
Dec 20, 2023
- s3daemon port can be changed but defaults to 15555
- some path fixes
- add support text when doing repeats of transfers
@@ -8,27 +8,26 @@ source venv/bin/activate | |||
|
|||
|
|||
|
|||
total=2 | |||
repeat=2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i switched away from this to total files - the number of files is not the same on each machine so if you use repeat the stats. So this change will mess up the plots when you run for large numbers.
It is better to state 200 files not reapet x files 10 times where you do not know what x is ..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok except the repeat ..
@@ -36,7 +36,7 @@ | |||
), | |||
) | |||
|
|||
PORT = 15555 | |||
PORT = int(os.environ["S3DAEMON_PORT"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want the port to truly default to 15555 even if nothing is specified, this can be:
PORT = int(os.environ.get("S3DAEMON_PORT", 15555))
I'm fine with the port env var. |
@csilva-cl I think you can close this now - Josh has the ports and as I explained the other is not good |
@csilva-cl perhaps close - obsoloete now ? |
obsolete |