s

    shy-hydrogen-95871

    3 months ago
    Hello everybody We are developing a custom dynamic provider for database management (we want to create groups, grant permissions to them and etc). We did development in python (we’ve created dynamic resource providers, each for each type) and now we are facing an issue that we can not limit number of connection to DB. We have 2 questions:1. Do we understand correctly that for each instance of resource isolated env. with Dynamic Resource provider is created and that’s why we can not use locks? 2. Is it any way (as we understand -p 1 controls only create process, but read and other operations will not be limited) to limit parallel usage of all operations?
    e

    echoing-dinner-19531

    3 months ago
    1. Do we understand correctly that for each instance of resource isolated env. with Dynamic Resource provider is created and that’s why we can not use locks?
    Yes. The way dynamic resources work is the code for the dynamic provider will be reevaluated for each resource operation.
    s

    shy-hydrogen-95871

    3 months ago
    @echoing-dinner-19531 is it any way to group them under same env?
    e

    echoing-dinner-19531

    3 months ago
    Not easily. There might be something possible with file locks. Seems like a reasonable request to raise an issue about though.