You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@josecastillagallardo Can you explain what your workflow is and what kind of slowness you are seeing?
Note, autodetect generally should be a one-off process (you do it once and then permanently save the device_type into some information store). You should overlay threading onto it to do autodetect for a bunch of devices.
Technically, you could speed up the process if you wait less here. This is not recommended at all as It could break getting wrong values on slow systems, etc.
Nevertheless, that being said, I agree with @ktbyers that it should be a one-off process, and then the value should be stored in a data store. This is not a process that you should run often. I have seen colleagues trying to use this value to detect thousands of devices on a process that runs once a day. Advice: Store the values on a YAML file or something similar, then it will speed up significantly. Also, maintaining a YAML file is cleaner and easier if you plan to run it on multiple devices (think of Nornir). If you have something better like SoT, then even better :).
Hi, the autodetect process is slow, Are there any way to improve the speed?
The text was updated successfully, but these errors were encountered: