- 
                Notifications
    
You must be signed in to change notification settings  - Fork 6.9k
 
Move all config constants into single file. #1192
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
          
     Merged
      
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            18 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      336adf5
              
                Initial pass at factoring out C++ configuration into a single file.
              
              
                robertnishihara 9945785
              
                Expose config through Python.
              
              
                robertnishihara 7278d1b
              
                Forward declarations.
              
              
                robertnishihara 7469f50
              
                Fixes with Python extensions
              
              
                robertnishihara 8962982
              
                Remove old code.
              
              
                robertnishihara 0e72b86
              
                Consistent naming for constants.
              
              
                robertnishihara f354ed3
              
                Fixes
              
              
                robertnishihara eb0b9b1
              
                Fix linting.
              
              
                robertnishihara 8afba7e
              
                More linting.
              
              
                robertnishihara a2f8307
              
                Whitespace
              
              
                robertnishihara 357f0a4
              
                rename config -> _config.
              
              
                robertnishihara 8204111
              
                Move config inside a class.
              
              
                robertnishihara 2dc56dc
              
                update naming convention
              
              
                robertnishihara c3b6602
              
                Fix linting.
              
              
                robertnishihara a2bf821
              
                More linting
              
              
                robertnishihara fee1d49
              
                More linting.
              
              
                robertnishihara f409265
              
                Add in some more constants.
              
              
                robertnishihara 94ff32d
              
                Fix linting
              
              
                robertnishihara File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| 
          
            
          
           | 
    @@ -49,8 +49,6 @@ PyObject *check_simple_value(PyObject *self, PyObject *args); | |
| PyObject *PyTask_to_string(PyObject *, PyObject *args); | ||
| PyObject *PyTask_from_string(PyObject *, PyObject *args); | ||
| 
     | 
||
| PyObject *compute_put_id(PyObject *self, PyObject *args); | ||
| 
     | 
||
| 
         There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed because this was unused.  | 
||
| PyObject *PyTask_make(TaskSpec *task_spec, int64_t task_size); | ||
| 
     | 
||
| #endif /* COMMON_EXTENSION_H */ | ||
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NUM_BIND_ATTEMPTSandBIND_TIMEOUT_MSwere not used anywhere.