mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
c2f4231442
On closing the SingleThreadExecutionSequencerPool, all sequencers in the pool are set to null (presumably to encourage garbage collection). However, you can still ask for the next executor, which will then return `null`, causing all manner of problems down the line. This change forces the failure early, making it easier to debug, by checking whether the pool is closed and if so, throwing an `IllegalStateException`. We see these null pointer exceptions in the `BotTest` test logs from time to time. CHANGELOG_BEGIN - [RxJava Bindings] We now fail faster, with a more meaningful error, when RxJava flows continue running after shutting down the client. CHANGELOG_END |
||
---|---|---|
.. | ||
grpc-definitions | ||
perf-testing | ||
rs-grpc-akka | ||
rs-grpc-bridge | ||
rs-grpc-testing-utils | ||
sample-service | ||
scripts | ||
testing-utils | ||
.gitignore | ||
.sbtopts | ||
BUILD.bazel | ||
README.md |
Ledger-API
This is the API code for the ledger, which contains:
- gRPC API definitions
- Generated Scala bindings
- gRPC-RS bridge
- gRPC-Akka bridge
- Server API classes with validation
- Prototype Server
- Prototype Clients
- Scala
- Python
- Node.js
- Integration tests for all of the above
Documentation
The Ledger API Introduction contains introductory material as well as links to the protodocs reference documentation.
See the docs README for more about how to preview and publish documentation.