Tai Lam

Results comments of Tai Lam

我正在开发的项目也有这个需要。 要是只依赖Nginx代理实现客户端的超时中断连接,服务端未能即时中断正在运行的请求。 假设现在打开了一个MySQL transaction 事务,然后在执行rollback或commit前进入了死循环,那么在另一请求发起的transaction中进行DML时,会发生deadlock死锁。 只要实现服务端的超时控制,再利用中间件或cleaner在抛出超时异常后,rollback所有由该请求打开的transaction,问题就能解决了。 https://my.oschina.net/u/222608/blog/1923730 @hhxsv5 求审查一下,謝。 #161

I am using Docker with WSL2 backend as my local development environment, it provide better performance than Hyper-V as Docker backend. Due to local development purpose, I need to mount...

Same here. - Laravel 5.3.31 - PHP 7.1 I downgraded to 3.3.1 from 3.3.2, it is fine.

Hi all, I have same issues too. PHP version: **7.4.0** Carbon version: **2.31.0** Laravel version: **7.1.1** Symfony/translation version: **5.0.5** Error: Laravel 500 with below error log: > Declaration of Carbon\Translator::setLocale($locale)...

Thanks for @patrickbrouwers reply. I tried to upgrade maatwebsite/excel to 2.1.7 from 2.1.6. I cannot find PHPExcel upgraded/downgraded. Just find "tijsverkoyen/css-to-inline-styles" upgraded to 2.2.0 from 1.5.5, is it related? ![image](https://user-images.githubusercontent.com/16300420/29874379-252644f8-8dc9-11e7-868e-6e526483b7e2.png)...

[https://github.com/Maatwebsite/Laravel-Excel/commit/55d18b6a99b30b9003c2f174cc3ecd9ca79f1bf5#diff-a5f6bef155051f62cca633eb1eff4adaR417](url) ![image](https://user-images.githubusercontent.com/16300420/29955147-035ab884-8f10-11e7-9d7c-455323e47861.png) When I removed line415 - 425 (Code for "Fix borders for merged cells") in 2.1.7 version LaravelExcelWriter.php, the result is ok. Anyone know what is the problem?

My workaround........ Create custom writer, override LaravelExcelWriter::_render(), comment the code for "Fix borders for merged cells" ![image](https://user-images.githubusercontent.com/16300420/29960816-ca646cf8-8f2f-11e7-80d5-dd953d5880f2.png) ![image](https://user-images.githubusercontent.com/16300420/29960800-bcbb5eae-8f2f-11e7-92e9-672751c8fc21.png) ![image](https://user-images.githubusercontent.com/16300420/29960835-dd623cb8-8f2f-11e7-87b9-2001efd2337c.png)

遇到相同問題,環境是官方提供的Dockerfile `FROM hyperf/hyperf:7.3-alpine-cli-4.4` 使用PHP7.2沒有問題,估計是碰上PHP7.3才會出現的問題。 hyperf/framework: v1.0.11

@sleep666 v1.1.10版本,應該已解決$packer->unpack() 無法解包拋出異常的問題 https://github.com/hyperf/hyperf/releases/tag/v1.1.10 #1119

https://www.php.net/manual/en/jsonserializable.jsonserialize.php json_encode要輸出的內容,是可以在那個對象的類自訂的。 這樣應該可以實現吧? ``` class TestObject1 { public $a = 123; protected $b = 456; private $c = 789; } class TestObject2 implements JsonSerializable { public $a = 123; protected...