Another factor would be the facilities available at the origin/dest/enroute airports. For landing gear issues a gear-swing may be required and that would require aircraft jacks/stands.
Example, I worked in an airline which operated a short sector from KUL-CGK vv. On departure KUL the landing gear would not retract. The pilots discussed this with MCC (maintenance control) and decision was made to divert to SIN where there was full capability for any landing-gear work.
Basically, an aircraft with its gear down is still safe, it will not fly as fast nor as far as planned but it is not a 'land immediately' situation.
Anilv
Anilv