Closed ecamacho closed 3 years ago
Fixes https://github.com/spotify/XCMetrics/issues/30
If we try to insert too many targets at once, we may reach the limit of parameters that NIO Postgres supports. This PR breaks them into chunks of 1000 targets. That strategy may be enough, since it worked to insert other lists like steps and notes
steps
notes
Fixes https://github.com/spotify/XCMetrics/issues/30
If we try to insert too many targets at once, we may reach the limit of parameters that NIO Postgres supports. This PR breaks them into chunks of 1000 targets. That strategy may be enough, since it worked to insert other lists like
steps
andnotes