fix db pool config

This commit is contained in:
bwcx_jzy 2022-08-15 10:21:37 +08:00
parent 305ebb755b
commit 1960db5db0
No known key found for this signature in database
GPG Key ID: 5E48E9372088B9E5
2 changed files with 12 additions and 0 deletions

View File

@ -60,6 +60,11 @@ db:
autoBackupIntervalDay: 1
# 自动备份保留天数 小于等于 0不自动删除自动备份数据
autoBackupReserveDay: 5
# 数据库连接池相关配置
maxActive: 100
initialSize: 10
maxWait: 10
minIdle: 1
# spring 相关配置
spring:
h2:

View File

@ -20,6 +20,7 @@
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import cn.hutool.core.codec.Base64;
import cn.hutool.core.lang.PatternPool;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.core.util.RandomUtil;
@ -126,4 +127,10 @@ public class TestString {
System.out.println(integerStream.count());
System.out.println(integerStream.count());
}
@Test
public void testBase64(){
String encode = Base64.decodeStr("YWJjZA");
System.out.println(encode);
}
}