Browse Source

Pull request #20: QFX-5554 fix: 【冒烟】测试环境大数据量excel上传后点击保存无法保存成功

Merge in PG/plugin-repository-s3 from ~FENG/plugin-repository-s3:release/10.0 to release/10.0

* commit 'cc8efcd60344f2011db98b52ea78c5dc88b0b6d4':
  QFX-5554 fix: 【冒烟】测试环境大数据量excel上传后点击保存无法保存成功
  QFX-5554 fix: 【冒烟】测试环境大数据量excel上传后点击保存无法保存成功
persist/jsy-11.0
Feng 4 years ago
parent
commit
8834f03f2b
  1. 3
      plugin.xml
  2. 6
      src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java

3
plugin.xml

@ -5,12 +5,13 @@
<main-package>com.fanruan.fs</main-package>
<active>yes</active>
<hidden>no</hidden>
<version>1.2.5</version>
<version>1.2.6</version>
<env-version>10.0</env-version>
<jartime>2021-03-11</jartime>
<vendor>richie</vendor>
<description><![CDATA[使用支持S3协议的云存储文件系统作为文件服务器。]]></description>
<change-notes><![CDATA[
[2021-03-30]修复copy文件耗时问题。<br/>
[2021-01-28]修复备份还原S3报警告问题。<br/>
[2021-01-24]修复定时调度结果文件预览失败。<br/>
[2021-01-20]正式作为官方插件维护。<br/>

6
src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java

@ -308,6 +308,12 @@ public class S3ResourceRepository extends BaseResourceRepository {
return false;
}
@Override
protected boolean internalCopy(String origPath, String desPath) {
s3.copyObject(bucket, origPath, bucket, desPath);
return exist(desPath);
}
@Override
public void shutDown() {
s3.shutdown();

Loading…
Cancel
Save