Kunpeng Fan

Results 23 comments of Kunpeng Fan

There are still lots of log like: ``` [ 4771.233608] RTL871X: nolinked power save leave [ 4779.301044] RTL871X: nolinked power save enter ``` To close this log: ```diff diff --git...

"你并不需要真的换工作,但是这能让你看到真实的市场需求,以及怎样与时俱进。"这里闻到一种急功近利的味道,当然这些都很重要,但不是目的而只是一种手段而已。而你如果只是养家糊口而已,我觉得差不多就行了。“你需要不断地打磨自己的技艺”,用来做啥?我也不知道,养家糊口而已。

Same Issue. I have to turn off HTTPS. If you use Helm to install Kong, use `helm install stable/kong --namespace kong --set admin.useTLS=false --set proxy.useTLS=false`.

仔细看了下,User 列表页面会渲染三次: 1. model 初始化的时候加载一次,合理。 2. effects 中的 `const { data, headers } = yield call(usersService.fetch, { page });` 这一句会触发渲染。似乎没有必要,因为数据虽然取了回来,但是还没有塞到 model 中。 3. reduce 中的 save 修改 model 后会触发一次,合理。 effect...

找到原因了,第二次是由于[Step 8. 通过 dva-loading 处理 loading 状态](https://github.com/sorrycc/blog/issues/18 )导致的,loading 状态是另外一个 model了,而`fetch`会修改这个状态。 由于 React 的机制,在数据没有变化的情况下组件是不会重新加载的,这样只是一个 loading 的变化对整个页面的性能影响关系不大。

@allinshang 这里的做法是先显示空白数据页面,然后取到数据后再次渲染,这样用户体验会好点。当然你也可以先准备好数据,然后再跳转到这个页面。

I see. But anyway I think we can move the ugly JavaScript which do regex to parse string to backend.

Why not response livenessProbe in time and in same time scrape chart from network?

To make container response livenessProbe in time, I change foreground refresh to goroutine in main.go: ``` // Run foreground repository refresh go chartsImplementation.Refresh() ``` So when pod are starting at...