The attestation-agent provided two binaries aa-ttrpc and aa-grpc. However, due to the existing of Mutex, we can't handle multiple get_token() and get_evidence() requests at the same time.
This commit removes Mutex from attestation-agent/attestation-agent/src/bin/grpc-aa/server.rs and attestation-agent/attestation-agent/src/bin/ttrpc-aa/server.rs to solve this problem.
The attestation-agent provided two binaries
aa-ttrpc
andaa-grpc
. However, due to the existing of Mutex, we can't handle multipleget_token()
andget_evidence()
requests at the same time.This commit removes Mutex from
attestation-agent/attestation-agent/src/bin/grpc-aa/server.rs
andattestation-agent/attestation-agent/src/bin/ttrpc-aa/server.rs
to solve this problem.