如果我尝试在分布式环境中对发布者中的 wso2 api 管理器进行更改,它不会很快得到反映!对此有什么建议吗?

If i tried to making changes in wso2 api manager in publisher in distributed environment, it is not getting reflected soon! Any suggestions for this?

我正在开发 wso2 API 管理器 2.6.0,如果我连接到分布式环境并尝试从发布者那里进行更改,它不会很快在商店中反映出来!对此有任何建议可以在我发布后立即实现。

尝试禁用注册表缓存。打开 registry.xml 并将缓存设置为 false。

    <currentDBConfig>wso2registry</currentDBConfig>
    <readOnly>false</readOnly>
    <enableCache>true</enableCache>                       <<<<<<<<<<<<<<<<<<<<<<<<<<<
    <registryRoot>/</registryRoot>

    <remoteInstance url="https://localhost">
        <id>gov</id>
        <cacheId>wso2carbon@jdbc:h2:./repository/database/WSO2SHARED_DB;DB_CLOSE_ON_EXIT=FALSE</cacheId>
        <dbConfig>govregistry</dbConfig>
        <readOnly>false</readOnly>
        <enableCache>true</enableCache>                  <<<<<<<<<<<<<<<<<<<<<<<<<<<<
        <registryRoot>/</registryRoot>
    </remoteInstance>

请注意,不建议将此更改用于生产。