House leadership has apparently struck a deal to limit the freewheeling amendment marathon that has dominated the House for the past two days.

House Appropriations Committee Chairman Rep. Harold Rogers (R-Ky.) came to the floor at around midnight to announce the deal, which would limit debate to several dozen “pro-forma” amendments.

Five of those amendments will be considered on Thursday night and the rest will be taken up on Friday.

When Rogers sought unanimous consent on the deal he ran into some opposition.

Rep. Barney Frank (D-Mass.) responded to several members who had commended the open process by calling it an “orgy of self-congratulations.”

“I guess I am a dissenter in this orgy of self-congratulations,” said Frank. “I object not to the unanimous consent but to the self-congratulations the majority is engaging in because they say they have such open process.”

Frank, however, let the agreement go without objection because he said he respects his leadership. He said he was sure the resulting bill would “never see the light of day” once it reached the Senate.

“Once the Senate gives this awful product its burial I will not be a party to its repetition,” he said.

But Rep. Louie Gohmert (R-Texas) vigorously responded to Frank’s comment claiming that Republicans were operating an open process.

The House adjourned at 1:10 a.m. Friday morning.  Consideration of  Republicans' budget will continue at 9 a.m. on Friday.