There is no Code requirement for this, at least not in B31 codes ..... There are similar requirements to avoid overlapping reinforcment areas in adjacent same axis connections on, for example a manifold, but that is not really relevant.
I would recommend a decent FE analysis to prove your design, and clearly 90 deg would be less likely to cause problems than 45 deg.
This is an ideal application for FE-Pipe software, from Paulin Research Group.