Skip to content

Commit

Permalink
fix: Remove DefaultTFControllerConfiguration
Browse files Browse the repository at this point in the history
Signed-off-by: Ce Gao <[email protected]>
  • Loading branch information
gaocegege committed Aug 19, 2019
1 parent e932c05 commit a68c030
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/controller.v1beta2/tensorflow/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@ var (
// IndexerInformer uses a delta queue, therefore for deletes we have to use this
// key function but it should be just fine for non delete events.
KeyFunc = cache.DeletionHandlingMetaNamespaceKeyFunc

// DefaultTFControllerConfiguration is the suggested tf-operator configuration for production.
DefaultTFControllerConfiguration = jobcontroller.JobControllerConfiguration{
ReconcilerSyncLoopPeriod: metav1.Duration{Duration: 15 * time.Second},
EnableGangScheduling: false,
}
)

// TFController is the type for TFJob Controller, which manages
Expand Down

0 comments on commit a68c030

Please sign in to comment.