roc king

Results 5 comments of roc king

补偿方法的参数,是缓存在omega实例的内存里的,实例一旦停止,就无法补偿了。只能让omega先不接收新的请求(手动从注册中心或nginx下线),并等已有事务回调全部完毕,才能够优雅shutwown

把ReloadingPropertyPlaceholderConfigurer类改为继承PropertySourcesPlaceholderConfigurer; demo:https://github.com/lastboy1228/disconf

我试着改了一下transform方法,目前成功把void _bytekit_init()方法的逻辑注入到目标构造函数里 ``` // 跳过真的构造函数 if(AsmUtils.isConstructor(methodNode)){ continue; } // 处理伪构造函数 if (methodNode.name.equals("_bytekit_init")) { final String _ConstructorName = ""; MethodNode findMethod = AsmUtils.findMethod(originClassNode.methods, _ConstructorName, methodNode.desc); if (findMethod == null) { continue;...

Every time I install mozjpeg in the same project folder, it always says the cjpeg binary doesn't seem to work correctly, and rebuild it again. I don't know why.

可能是大事务的一行binlog太大,导致canal的oom