Comments (2)
no problem! it also lifts the restriction that all the methods in the Indexer
trait should take &self
. Being able to take &mut self
allows implementors of Index
to avoid using interior mutability to modify themselves.
from alexandrie.
Yes, the Mutex
in Git2Index
was indeed to have it be Sync
.
At the time, I thought it would be fine but you made very good points about how that lock is not actually useful and how having it Sync
is not accurate. I didn't realize that and that's completely on me.
I am sold on removing the lock from there and using an Arc<Mutex<config::State>>
as Tide's state.
Thank you for pointing that out, that is quite a big deal and could easily lead to consistency issues in the registry's state.
from alexandrie.
Related Issues (20)
- Is it repository Deprecated? Is the code still updated? HOT 2
- Support for Azure AD single-sign-on HOT 1
- add additional details to error logs HOT 1
- locked sqlite db? HOT 4
- Apologies for the inactivity period HOT 1
- "The published version is too low" - why is that an error? HOT 3
- Some potential data racing issues
- Self-modifying login form password field interferes with the Firefox remember password feature
- ERROR: insert or update on table "sessions" violates foreign key constraint "sessions_author_id_fkey" HOT 1
- After updating to Merge pull request #116 ,i can't publish new version of crates
- Question about database and build process
- Best method to remove/delete a crate HOT 1
- Enable git HTTPS authentication via username/password
- with forget the password,how to change use password? HOT 1
- What should be done in future planning with alexandrie? Any roadmap?
- Using Alexandrie as private HOT 3
- Wrong error while performing the migrations for PostgreSQL HOT 1
- Make UID and GID configurable HOT 1
- Allow configuring the crate upload size limit HOT 5
- Could you provide a simple demo ?
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 alexandrie.