Santa Clara County and Silicon Valley’s largest city, San Jose, on Tuesday both unanimously approved new caps on how much money delivery services like DoorDash and Uber Eats can charge struggling restaurants during the COVID-19 crisis.

A temporary county ordinance — adopted as an emergency regulation tied to the county’s coronavirus pandemic response — will cap delivery fees at 15% of the purchase price for orders from any restaurant in the county. The ordinance is set to expire when restaurants are permitted to resume indoor dining at full capacity or at the end of the county’s emergency declaration.

The county and San Jose join a handful of jurisdictions across California, including Los Angeles, Hayward and Newark, to pass such restrictions.

Jenneke de Vries, the owner of Pizza Bocca Lupo in San Jose’s San Pedro Market Square, called the new cap “a lifeline” for restaurants like hers that are on their last leg. This, she said, will help them “get through this tough winter ahead and to the end of the pandemic, hopefully at the end of the summer.”

Since the start of the pandemic nearly nine months ago, restaurateurs have scrambled to figure out new ways to weather the pandemic and the ever-changing county guidelines. And after months of adapting to mostly outdoor dining setups and preparing to continue offering an outdoor dining experience during the winter months, the latest lockdown and take-out and delivery-only mandate have made matters worse.

On top of that, food delivery platforms like Uber Eats and DoorDash are charging businesses who rely on these services upwards of 30% in commissions and fees, according to county and city officials.

San Jose Councilmember Raul Peralez, who represents the city’s downtown core, made his stance clear: “Taking that big of a hit is not allowing (small businesses) to succeed. And if we don’t make a difference there then I think we’re going to see more of those businesses go out of business, unfortunately.”

Ryan Summers, the owner of Good Karma in downtown San Jose, echoed his sentiment, stating that he sees more doors permanently closing every day.

“Downtown small businesses feel abandoned during this crisis, but this bit of advocacy is certainly a positive step toward sustaining the downtown economy, which is honestly on its last leg,” Summers said during the San Jose council meeting.

County Supervisor Mike Wasserman said he hoped the temporary ordinance would allow the restaurant industry to “tread water” the next several weeks until they can hopefully resume outdoor dining again.

“I understand that there’s a lack of fees to door dash and other foodservice type providers, but I think everyone is giving up a little something during this time and it’s the way for the majority of us to get through this,” Wasserman said.

While the county’s emergency ordinance will apply to deliveries from all restaurants in Santa Clara County, cities are permitted to adopt more stringent ordinances if they choose. San Jose’s ordinance mirrors the county’s by capping delivery fees at 15% but also requires that total fee amounts for the services of delivery companies — including the delivery and processing fees — be capped at 18% of the price of an online order. Chains with more than four restaurants, grocery stores and convenience stores do not qualify for the city’s relief.

Councilmember Dev Davis, who typically doesn’t support the government interfering with markets, said that the extraordinary times called for extraordinary measures like this.

“I’m extremely concerned for our small businesses,” Davis said during Tuesday’s council meeting. “They happen to employ a large number of our residents in here in our community and we need to do everything we can to keep our businesses operating safely and to keep people employed.”