Deleting a partner also deletes all exchanges in acapy, as acapy has no paging implemented on the xxx/records endpoints the BPA simply loads all exchanges into memory before deleting them to get the exchange ids, this is a bad idea as the amount of exchanges can become quite substantial. There are two possible solutions:
extend acapy to support paging on all endpoints that deal with exchanges
store a reference to the exchange in the BPA and use micronauts paging mechanism when deleting records
1 is probably a good idea in any case. 2 is faster to implement.
Deleting a partner also deletes all exchanges in acapy, as acapy has no paging implemented on the
xxx/records
endpoints the BPA simply loads all exchanges into memory before deleting them to get the exchange ids, this is a bad idea as the amount of exchanges can become quite substantial. There are two possible solutions:1 is probably a good idea in any case. 2 is faster to implement.