-
Notifications
You must be signed in to change notification settings - Fork 203
Closed
Description
I'd like to control how often ROAPI refreshes the query it runs to populate a table. I think that requires the table refresh interval argument, but it doesn't seem to work for me.
Can I confirm that I'm using it correctly?
Here's the command:
roapi --reload-interval 300 --table 'msgs=msgs.csv' --disable-read-only -p 127.0.0.1:5433
And I get the following:
thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.2/src/parser/error.rs:32:9:
Mismatch between definition and access of `reload-interval`. Could not downcast to TypeId { t: (11446210613632762899, 3222440509213045925) }, need to downcast to TypeId { t: (8534575583440993248, 3699462571249082112) }
Here's my roapi version:
roapi --version
returns
roapi 0.12.0
Metadata
Metadata
Assignees
Labels
No labels