Skip to content

Commit

Permalink
reduce refresh time to 5min in webserver mode
Browse files Browse the repository at this point in the history
  • Loading branch information
unixfox authored Nov 18, 2024
1 parent 5ddf4bd commit 0609262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion potoken_generator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def args_parse() -> argparse.Namespace:
parser = argparse.ArgumentParser(description=description, formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('-o', '--oneshot', action='store_true', default=False,
help='Do not start server. Generate token once, print it and exit')
parser.add_argument('--update-interval', '-u', type=int, default=3600,
parser.add_argument('--update-interval', '-u', type=int, default=300,
help='How ofthen new token is generated, in seconds (default: %(default)s)')
parser.add_argument('--port', '-p', type=int, default=8080,
help='Port webserver is listening on (default: %(default)s)')
Expand Down

0 comments on commit 0609262

Please sign in to comment.