Pendant des années, je me suis plié en quatre pour arranger les choses entre nous...
t's describing something habitual that happened over a long period of tim. It's in the middle of a longer passage also in the imparfait setting the scene for a discrete action to come....
Thanks in advance for the insights I know you will provide.