呼吸二氧化碳

Results 13 issues of 呼吸二氧化碳

always output error log `unexpected error error_class=TypeError error="no implicit conversion of Symbol into Integer"`, restart is the same error. log is from other fluentd forward. - fluentd version 1.1. -...

bug

希望能够实现一个遍历的的迭代器的功能,如果能根据前缀区别再实现 count() 方法就最好了~

README里并没有提到这个方法,但是我用 ReflectionClass 看到了这个方法,当 delete() 一个key 后在 dump() 的话,那个 key 对应的信息还在,只是返回的 ttl 由0变成了1。 ``` Array ( [0] => Array ( [index] => 168930 [hash] => 3657602018 [crc] => 2675899467 [ttl] =>...

文件 https://github.com/zanphp/coroutine/blob/master/src/Task.php 第50行如下: ```php public function __construct(\Generator $coroutine, Context $context = null, $taskId = 0, Task $parentTask = null) { $this->coroutine = $this->caughtCoroutine($coroutine); $this->taskId = $taskId ? $taskId : TaskId::create();...

### 背景: * 开启了大量worker数(128甚至256以上)的服务器 mysql、redis等长连接即便是每个进程1个也会导致占用特别多的连接数; * 需要每个进程单独维护连接,切换数据库也比较麻烦(需要重启或每个进程通知到),不便于管理; * 使用了2.0的协程后,在大并发情况下,会出现大量的 mysql、redis的频繁打开和关闭连接问题,增加服务器负担; 最终导致的结果就是数据库和redis的压力非常大,而一个业务复杂的大型系统往往数据库是最大的性能瓶颈。 ### 解决思路: 提供多进程里可以复用的内置连接池代理功能,内置协议例如: `pool://test` 可以提供多进程内连接并且可以自行维护连接池连接,Swoole\Server 提供一个 createPool() 方法,也可以提供一个独立的 Swoole\Pool 对象提供更多方法实现相关功能。 可以由任意进程创建一个连接池,例如: ```php // 以下为假想代码 // $server is Swoole\Server instance...

目前添加新的 port 监听不可以设置 dispatch_mode,在某些特定场景下,可能主端口希望是 dispatch_mode = 2 而某个 port 是希望 dispatch_mode = 1 所以希望能增加它可以单独设置的特性

For some reason (for example:lost some fields of BigQuery table or network problem), the fluentd buffer have many files. After it restart, the legacy buffer files can't push into bigquery...

telnet to server and send data ``` ["test.abc",[[1449207484,{"cid":1,"time":1402497769,"name":"\u6155\u5bb9\u5fb7\u5eb7","ctime":1402110157}]],{"chunk":"a14492074850006"}] ``` error info ``` 2015-12-04 13:38:04 +0800 [warn]: emit transaction failed: error_class=Encoding::UndefinedConversionError error="\"\\xE6\" from ASCII-8BIT to UTF-8" tag="test.abc" ```

### What problem does this feature solve?(这个功能解决的问题) 当一个长列表在下拉滚动时,tabs的title依旧可以固定显示在页面顶部,提供类似 position: sticky; top: 0; 的效果 ### What does the proposed API look like?(期望的 API) 增加Props 参数 : sticky : true|false stickyOffset: 0...

Feature Request
PR Welcome