Skip to content

Tasks now start much laterΒ #78

@evvaaaa

Description

@evvaaaa

The most recent change made all the background tasks asyncio.Tasks, but now they're starting a lot later.

In the fastcs-eiger they take ~15 seconds:

############################################################################
## EPICS 7.0.7.0
## Rev. 7.0.7.99.0.2
## Rev. Date 7.0.7.99.0.2
############################################################################
iocRun: All initialization complete
Python 3.11.3 | packaged by conda-forge | (main, Apr  6 2023, 08:57:19) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> `update` AFTER 15.366593599319458
`handle_monitor` AFTER 15.385668754577637
`update` AFTER 15.491511583328247
`update` AFTER 15.592266321182251

Compared to how long they take on fastcs~=0.7:

Starting iocInit
############################################################################
## EPICS 7.0.7.0
## Rev. 7.0.7.99.0.2
## Rev. Date 7.0.7.99.0.2
############################################################################
`handle_monitor` AFTER 0.19543170928955078
`update` AFTER 0.30263829231262207
`update` AFTER 0.4033694267272949

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions