GLOUCESTER — With thousands of state lawmakers from around the country romping through Boston this week, Gov. Charlie Baker will be taking a break from his commute into the city to spend time with his family in Gloucester, according to a senior aide.

Baker took a similar staycation last year at the end of July in the North Shore fishing port, which is about 20 miles north of his Swampscott home.

The break from Beacon Hill comes as the National Conference of State Legislatures got underway over the weekend in Boston. The Republican governor participated in a panel discussion on Sunday afternoon with House Speaker Robert DeLeo and Senate President Stanley Rosenberg, both Democrats, about solving problems in government with bipartisan cooperation.

The talk was moderated by former Republican Gov. Bill Weld.

The Legislature is on its August recess, bringing the pace of action at the Statehouse to a crawl. Decision on whether to override any of Baker's $320 million in budget vetoes, and how to address health care and criminal justice reform proposals are not expected until after Labor Day.