Skip to content

Commit

Permalink
Mongo client upgrade from 2.2.35 -> 3.7.3 (#292)
Browse files Browse the repository at this point in the history
* WIP: Migrating mongodb client to newer version

* Port GMEAuth mongo interactions

* Replace updateOne with replaceOne when replacing, specify projection in projection (odd that it's needed)

* Migrate more tests

* Fix duplicate project and get rid of warning about writeConcern

* Update license and package-lock

Co-authored-by: Patrik Meijer <[email protected]>
  • Loading branch information
pmeijer and Patrik Meijer authored Nov 29, 2022
1 parent dcb7198 commit 4c66cdd
Show file tree
Hide file tree
Showing 19 changed files with 11,832 additions and 158 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2012-2019 Vanderbilt University, ISIS
Copyright (c) 2012-2023 Vanderbilt University, ISIS

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 3 additions & 1 deletion config/config.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ var path = require('path'),
mongo: {
uri: 'mongodb://127.0.0.1:27017/multi',
options: {
w: 1,
writeConcern: {
w: 1
},
autoReconnect: true,
keepAlive: 1
}
Expand Down
Loading

0 comments on commit 4c66cdd

Please sign in to comment.