colossal-nightfall-74781
03/04/2025, 5:32 PMget
method still runs every 10sec. Any advice would be appreciatedglamorous-carpet-83516
03/04/2025, 7:25 PMqps
to 1/60 and bust
to 0.colossal-nightfall-74781
03/04/2025, 7:38 PMflyteagent:
enabled: true
plugin_config:
plugins:
agent-service:
defaultAgent:
endpoint: "dns:///flyteagent.flyte-core.svc.cluster.local:8000"
insecure: true
agents:
my-custom-agent:
endpoint: "dns:///my-custom-agent.my-namespace.svc.cluster.local:8000"
insecure: true
timeouts:
CreateTask: 5s
GetTask: 30s
DeleteTask: 30s
defaultTimeout: 30s
# Only run the agent get method once a minute
webApi:
readRateLimiter:
burst: 0
qps: 0.01666666666
What is pollInterval
used for, what is caching.resyncInterval
used for?glamorous-carpet-83516
03/04/2025, 7:39 PMpollInterval
is the interval at which the plugin should poll the agent for metadata updates. propeller get the metadata from the agent every pollInterval
secondcolossal-nightfall-74781
03/04/2025, 7:40 PMpollInterval
has nothing to do with my agent logic, right?colossal-nightfall-74781
03/04/2025, 7:41 PMget
method that often. I have to make sure, i can throttle itglamorous-carpet-83516
03/04/2025, 7:42 PMresyncInterval
seconds. readRateLimiter
controls how often to read the items from the queue. propeller sends the request to your agent when processing the item in the queue.glamorous-carpet-83516
03/04/2025, 7:42 PMhas nothing to do with my agent logic, right?right
colossal-nightfall-74781
03/04/2025, 7:45 PMglamorous-carpet-83516
03/04/2025, 7:45 PM# Only run the agent get method once a minute
webApi:
readRateLimiter:
burst: 0
qps: 0.01666666666
glamorous-carpet-83516
03/04/2025, 7:45 PMcolossal-nightfall-74781
03/04/2025, 7:46 PMcolossal-nightfall-74781
03/04/2025, 7:47 PMglamorous-carpet-83516
03/04/2025, 7:50 PMglamorous-carpet-83516
03/04/2025, 7:51 PMglamorous-carpet-83516
03/04/2025, 7:52 PMcolossal-nightfall-74781
03/04/2025, 7:52 PM