Skip to content

Recompilation speedup: use runtime deps in Pleroma.Config

Alex Gleason requested to merge cycles-config into develop

#2651 (closed)

Switches Config modules to use runtime deps instead of module attributes. This one is pretty effective, getting rid of two cycles (including the largest one) and shrinking many others:

Screenshot_from_2021-05-29_12-04-13

https://www.diffchecker.com/pPtCCUsC

A lot of stuff has compile-time deps on Pleroma.Config, so this makes sense.

Edited by Alex Gleason

Merge request reports