fetchai / uAgents

A fast and lightweight framework for creating decentralized agents with ease.
Apache License 2.0
870 stars 228 forks source link

fix(core): add a polling interval in Dispenser #443

Closed ManueleSigona closed 3 months ago

ManueleSigona commented 3 months ago

Proposed Changes

Add an interval in the polling loop of Dispenser, so that agents don't spin up the CPU unnecessarily.

Linked Issues

442

Types of changes

What type of change does this pull request make (put an x in the boxes that apply)?

Checklist

Put an x in the boxes that apply:

If applicable

Further comments

[if this is a relatively large or complex change, kick off a discussion by explaining why you chose the solution you did, what alternatives you considered, etc...]