Cache team names in console module

Issue #39 resolved
Flozza created an issue

Currently, for each time a team name is requested, the pipe is used to query the maintenance thread. This is rather expensive and team names aren't likely to change so the better idea is to cache them locally. Just build a dict of already queried values and store them, then return the value if it is inside the dict, else query.

Comments (1)

  1. Log in to comment