aboutsummaryrefslogtreecommitdiffstats
path: root/util/lamport/mem_clock_test.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 /util/lamport/mem_clock_test.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 'util/lamport/mem_clock_test.go')
0 files changed, 0 insertions, 0 deletions