Skip to content
Commit Detail

Commit a9fd4fc

Author
Dan Lapid <dlapid@cloudflare.com> 2024-10-30 23:06:10 +0000
Parents
0284af8
Tree
45260b4
Move ownership of metrics and limitEnforcer to the api type.

Currently ownership is shared even though the Isolate class encapsulates
the api class.
Moving complete ownership to the underlying api class allows the isolate
class to be constructed in a different scope to the api class.
This is useful for preinitialization of the api class before a request
has come in.

Files changed