WD40 dries up to gunk/ coat over time which is why you can't use it in brifters, or locks for example. While it cleans, lubricates and makes everything work initially, it will eventually make it worse.
But this is probably a desirable property when you spray it inside a frame. I would think that after you have done it a couple of times over a period it should last surprisingly long...