aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache_common.go
diff options
context:
space:
mode:
authorAlexander Scharinger <rng.dynamics@gmail.com>2021-03-08 07:53:09 +0100
committerAlexander Scharinger <rng.dynamics@gmail.com>2021-03-15 07:15:00 +0100
commit93b14c509b8260d8238ec1b32394b4a03bcd1349 (patch)
treed44ed8da71d72ef2f2d085dc0937e84a74495198 /cache/repo_cache_common.go
parent9a8e487613d99fb102e4619cb30464342b73fee7 (diff)
downloadgit-bug-93b14c509b8260d8238ec1b32394b4a03bcd1349.tar.gz
Remove maps containing channels.
The old implementation of the github bridge used maps to store several channels holding data obtained from the Github API. Removing the maps and simply packing data and channels together in a struct and passing it through one single channel makes the program simpler in terms of concurrency and, additionally, enables the garbage collector to free the memory gradually without any additional provisions.
Diffstat (limited to 'cache/repo_cache_common.go')
0 files changed, 0 insertions, 0 deletions