upwell

Results 7 comments of upwell

``` arctic/_util.py:6: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead. from pandas.util.testing import assert_frame_equal ``` Here is another future warning when import arctic.

UT好像在master原有的代码上已经跑不过了,travis可能过不了

@silenceper 之前有考虑解法,有两个思路: - 一个是超时重试 - 一个是在Close的时候往connReq发消息,让Get方法重新循环 超时重试可以解决后续可能出现的类似问题,但超时时间要斟酌一下,设的太短,容易误触发重试,设的太长,可能会影响业务逻辑。 我用了解法2改了个版本,相对简单些,就只是解决这个特定问题了。 Close方法 ```go type connReq struct { idleConn *idleConn reCheck bool } func (c *channelPool) Close(conn interface{}) error { if conn == nil...

@silenceper 昨天仔细追了下`database/sql`的代码,发现其实是在`finalClose`方法里面做了判断,对于需要关闭的连接,根据情况判断是否需要开一个新的连接,这个思路挺好的,可以借鉴过来。 ```go dc.db.maybeOpenNewConnections() ``` ```go func (dc *driverConn) finalClose() error { var err error // Each *driverStmt has a lock to the dc. Copy the list out of the...

提了一个 pull request来修复这个问题,参考了 database/sql 的代码。 @silenceper 我放在自己的项目里面跑了一段时间,暂时没有发现问题。

@jcberthon, Any plan to create a light version of this? The dark one works perfectly on 10.11. Thanks!

`tablewriter` is using `go-runewidth` to calculate the width of string. This issue might be related to https://github.com/mattn/go-runewidth/issues/28.