Comments (10)
@shy1st can you help look at this issue?
from jdbc-adapter.
@arafat-java Would you mind providing the model.conf?
from jdbc-adapter.
Here is the model.conf
[request_definition]
r = sub, obj, act
[policy_definition]
p = sub, obj, act
[role_definition]
g = _, _
[policy_effect]
e = some(where (p.eft == allow))
[matchers]
m = g(r.sub, p.sub) && r.obj == p.obj && r.act == p.act
from jdbc-adapter.
@arafat-java It seems that we create too many database connection。We will fix the problem. Thank you for discovering this problem
from jdbc-adapter.
@arafat-java what do you mean by "4L"? million or what?
from jdbc-adapter.
@arafat-java At present, it takes an average of one minute to import 10000 pieces of data into the database. Do you think that is ok?
from jdbc-adapter.
I guess "one minute to import 10000 pieces of data into the database" should be ok
By "4L" I mean 4,00,000
from jdbc-adapter.
When do you think the fix for " too many database connection" be available
from jdbc-adapter.
@arafat-java ok.
@shy1st plz make a PR which fixed this issue. Thanks!
from jdbc-adapter.
@arafat-java I have submitted the pr. Please wait patiently for the audit.
from jdbc-adapter.
Related Issues (20)
- Potential for partial/complete dataloss HOT 6
- Support FilteredAdapter interface HOT 2
- Add semantic-release
- Switch CI to travis-ci.com
- Broken connection not re-established. HOT 3
- 2.0.2 not loading old data with jcasbin >1.10.2 HOT 1
- Switch travis-ci to GitHub Actions CI and setup semantic-release HOT 5
- Connection is closed HOT 9
- The automated release is failing 🚨 HOT 5
- Breaking change between version 2.0.1 and version 2.0.2 HOT 5
- Transaction not closed and database locks not released HOT 1
- Load policies is slow HOT 2
- `casbin_sequence` is generated even when `casbin_rule` table is made beforehand using `GenerationType.IDENTITY` HOT 9
- Excute the function "removeFilteredNamedGroupingPolicy" with the params("g", 0, "userId", "", "domainId"), return false because it still get the sql whit " v1=\"\"" HOT 2
- Question/Bug: savePolicy fails with NPE for ACL model HOT 1
- The automated release is failing 🚨 HOT 1
- jdbc-adapter hot reload polices HOT 5
- The automated release is failing 🚨 HOT 1
- feature: JDBCAdapter doesn't implement the UpdatableAdapter interface HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jdbc-adapter.