Git Product home page Git Product logo

Comments (6)

wxning1107 avatar wxning1107 commented on June 12, 2024

传入application和application.properties效果是一样的,好吧,为什么application带不带后缀都行,而yaml或者json必须带后缀呢

from agollo.

shima-park avatar shima-park commented on June 12, 2024

这个问题要问apollo的开发团队了

可能他们java技术栈properties配置文件格式用的比较多,其他配置文件格式应该是后来加的
而且从给的接口数据上来看,存储应该也是不一样的。
properties

{
"key": "value",
"key2":"value2"
...
}

json/yaml/xml ...

{
"content" : "json/yaml/xml data"
}

from agollo.

wxning1107 avatar wxning1107 commented on June 12, 2024

使用agollo.stop后goroutine没有减为0,发现还有3个goroutine存活

from agollo.

shima-park avatar shima-park commented on June 12, 2024

👍阔以,这都被你发现了,我倒是没注意,刚刚提交了一个补丁,应该修正了stop后goroutine没退出的问题。

from agollo.

wxning1107 avatar wxning1107 commented on June 12, 2024

好的,已经解决了,需要sleep超过90秒才能完全释放goroutine,非常感谢。

from agollo.

shima-park avatar shima-park commented on June 12, 2024

了解了,轮训哪里做的粗糙了点。longPull轮训的那个goroutine被apollo服务器hold了90秒,等待期间是否有修改返回。
这个http request我没有传入带关闭事件的Context,所以要等90秒后,轮训再次触发select最后一个goroutine才退出。

from agollo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.