Skip to main content

BUILD_LOCK

Static BUILD_LOCK 

Source
static BUILD_LOCK: Mutex<()>
Expand description

同一时刻只重建一份成品:缓存失效后并发到达的请求排队等第一个建完。