-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add file-stateful and stateless / global stateful check markers #4883
Comments
Previously, when I told about file-stateful checks I always use Now I'm not sure if this is correct name. The @romani @rnveach @sabaka @Vladlis What do you think? I'm suggesting the |
@soon Naming is small problem, as logic is more important right now since we aren't in PR stage.
It depends on what is in a thread as we haven't seen any PRs for your threading implementation for Checker, which I asked if we could start a while ago.
These names sound too technically and not easy to understand, so I don't like them compared to the others.
These are synonymous, right? We will have multiple threads in the same application, unless I am mismatching your alternative name for |
Sorry for the long reply, here is the PR: #4890
I don't think so. One instance per application means that the module will not be copied, there will be one instance across the application lifetime. One instance per thread means that the module will be copied when it is used in a background thread. Probably, you mixed up |
@rnveach @sabaka @romani So, should we split Then, if we're splitting, we should probably rename |
@soon , I would prefer to split it. Even if two types are handling the same way, they are still different. |
fix is merged |
This is a subtask of #4869, because
CheckCloneService
uses these markers to create appropriate clone for each check type.This is also a subtask of #4870
In this task two markers should be added:
OneCheckInstancePerApplication
)OneCheckInstancePerThread
orOneCheckInstancePerFile
)The text was updated successfully, but these errors were encountered: